mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 12:47:08 +00:00
Remove unnecessary assignment of Template.hass from intent_script (#123676)
This commit is contained in:
parent
4dadf0ea1b
commit
c47fdf7074
@ -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():
|
||||
|
Loading…
x
Reference in New Issue
Block a user