Drop deepcopy of intent_script config (#89285)
This commit is contained in:
parent
f48b535d9d
commit
f5a3c4f7f5
1 changed files with 2 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue