mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 17:57:11 +00:00
Fix threading error in litejet (#62185)
This commit is contained in:
parent
9c749682bf
commit
f7f1d9b15d
@ -34,7 +34,7 @@ CONFIG_SCHEMA = vol.Schema(
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
def setup(hass, config):
|
async def async_setup(hass, config):
|
||||||
"""Set up the LiteJet component."""
|
"""Set up the LiteJet component."""
|
||||||
if DOMAIN in config and not hass.config_entries.async_entries(DOMAIN):
|
if DOMAIN in config and not hass.config_entries.async_entries(DOMAIN):
|
||||||
# No config entry exists and configuration.yaml config exists, trigger the import flow.
|
# No config entry exists and configuration.yaml config exists, trigger the import flow.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user