[MOD] Fix issue with init script
This commit is contained in:
parent
a323b1e9d0
commit
09a500904c
@ -30,7 +30,8 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
|
||||
exposed_entities = []
|
||||
|
||||
# Iterate through all entities
|
||||
for entity_id, state in hass.states.async_all():
|
||||
for state in hass.states.async_all():
|
||||
entity_id = state.entity_id
|
||||
entity_entry = entity_reg.async_get(entity_id)
|
||||
|
||||
# Check if entity is exposed to conversation (voice assistant)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user