mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Drop deepcopy of intent_script config (#89285)
This commit is contained in:
parent
f48b535d9d
commit
f5a3c4f7f5
@ -1,7 +1,6 @@
|
||||
"""Handle intents with scripts."""
|
||||
from __future__ import annotations
|
||||
|
||||
import copy
|
||||
import logging
|
||||
|
||||
import voluptuous as vol
|
||||
@ -57,8 +56,8 @@ CONFIG_SCHEMA = vol.Schema(
|
||||
|
||||
|
||||
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
|
||||
"""Activate Alexa component."""
|
||||
intents = copy.deepcopy(config[DOMAIN])
|
||||
"""Set up the intent script component."""
|
||||
intents = config[DOMAIN]
|
||||
template.attach(hass, intents)
|
||||
|
||||
for intent_type, conf in intents.items():
|
||||
|
Loading…
x
Reference in New Issue
Block a user