mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 12:45:28 +02:00
Remove unnecessary assignment of Template.hass from intent_script (#123676)
This commit is contained in:
@@ -90,7 +90,6 @@ async def async_reload(hass: HomeAssistant, service_call: ServiceCall) -> None:
|
||||
|
||||
def async_load_intents(hass: HomeAssistant, intents: dict[str, ConfigType]) -> None:
|
||||
"""Load YAML intents into the intent system."""
|
||||
template.attach(hass, intents)
|
||||
hass.data[DOMAIN] = intents
|
||||
|
||||
for intent_type, conf in intents.items():
|
||||
|
Reference in New Issue
Block a user