From 058bb4c3e668b15b0b45249664de15a0827b4e53 Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Tue, 7 Mar 2023 16:16:46 +0100 Subject: [PATCH] Drop deepcopy of Alexa config (#89284) --- homeassistant/components/alexa/flash_briefings.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/homeassistant/components/alexa/flash_briefings.py b/homeassistant/components/alexa/flash_briefings.py index 1521afcae5a..6f53d86d444 100644 --- a/homeassistant/components/alexa/flash_briefings.py +++ b/homeassistant/components/alexa/flash_briefings.py @@ -1,5 +1,4 @@ """Support for Alexa skill service end point.""" -import copy import hmac from http import HTTPStatus import logging @@ -48,7 +47,7 @@ class AlexaFlashBriefingView(http.HomeAssistantView): def __init__(self, hass, flash_briefings): """Initialize Alexa view.""" super().__init__() - self.flash_briefings = copy.deepcopy(flash_briefings) + self.flash_briefings = flash_briefings template.attach(hass, self.flash_briefings) @callback