Fixed conflicts
This commit is contained in:
@@ -17,6 +17,9 @@ async def async_setup(hass: HomeAssistant, config: dict):
|
||||
|
||||
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry):
|
||||
"""Set up LocalTuya integration from a config entry."""
|
||||
|
||||
print('async_setup_entry localtuya subswitch [{}] '.format(entry.data))
|
||||
|
||||
for component in PLATFORMS:
|
||||
hass.async_create_task(
|
||||
hass.config_entries.async_forward_entry_setup(entry, component)
|
||||
|
Reference in New Issue
Block a user