Closed grizmin closed 5 months ago
Note, that title is configurable in HomeAssistant and it might not equal 'localtuya', which will break the service without proper logging.
for entryId in hass.config_entries._entries: entry = hass.config_entries.async_get_entry(entryId) if (entry.title == 'localtuya'):
Note, that title is configurable in HomeAssistant and it might not equal 'localtuya', which will break the service without proper logging.