mirror of
https://github.com/home-assistant/core.git
synced 2025-12-25 05:26:47 +00:00
Cleanup of unused connection_class logic (#49865)
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
"""Config flow for NEW_NAME."""
|
||||
import my_pypi_dependency
|
||||
|
||||
from homeassistant import config_entries
|
||||
from homeassistant.core import HomeAssistant
|
||||
from homeassistant.helpers import config_entry_flow
|
||||
|
||||
@@ -15,6 +14,4 @@ async def _async_has_devices(hass: HomeAssistant) -> bool:
|
||||
return len(devices) > 0
|
||||
|
||||
|
||||
config_entry_flow.register_discovery_flow(
|
||||
DOMAIN, "NEW_NAME", _async_has_devices, config_entries.CONN_CLASS_UNKNOWN
|
||||
)
|
||||
config_entry_flow.register_discovery_flow(DOMAIN, "NEW_NAME", _async_has_devices)
|
||||
|
||||
Reference in New Issue
Block a user