Drop deepcopy of Alexa config (#89284)

This commit is contained in:
Erik Montnemery 2023-03-07 16:16:46 +01:00 committed by GitHub
parent f5a3c4f7f5
commit 058bb4c3e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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