Only call conversation should_expose once (#116891)

Only call should expose once
pull/116202/head^2
Paulus Schoutsen 2024-05-05 21:37:10 -04:00 committed by GitHub
parent 5d5f311898
commit 4fce99edb5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 4 deletions

View File

@ -126,10 +126,6 @@ async def async_setup_default_agent(
await entity_component.async_add_entities([entity])
hass.data[DATA_DEFAULT_ENTITY] = entity
entity_registry = er.async_get(hass)
for entity_id in entity_registry.entities:
async_should_expose(hass, DOMAIN, entity_id)
@core.callback
def async_entity_state_listener(
event: core.Event[core.EventStateChangedData],