From 6f248acfd5c627c69481b000670f2e0d707247e0 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Mon, 27 May 2024 21:12:10 -0400 Subject: [PATCH] LLM Assist API: Inline all exposed entities (#118273) Inline all exposed entities --- homeassistant/helpers/llm.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/homeassistant/helpers/llm.py b/homeassistant/helpers/llm.py index bbe77f0ea1a..0690b718a2b 100644 --- a/homeassistant/helpers/llm.py +++ b/homeassistant/helpers/llm.py @@ -278,17 +278,6 @@ def _get_exposed_entities( area_registry = ar.async_get(hass) entity_registry = er.async_get(hass) device_registry = dr.async_get(hass) - interesting_domains = { - "binary_sensor", - "climate", - "cover", - "fan", - "light", - "lock", - "sensor", - "switch", - "weather", - } interesting_attributes = { "temperature", "current_temperature", @@ -304,9 +293,6 @@ def _get_exposed_entities( entities = {} for state in hass.states.async_all(): - if state.domain not in interesting_domains: - continue - if not async_should_expose(hass, assistant, state.entity_id): continue