From 5580e872534681b527ec80c910598cabda8c45a1 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Wed, 22 Dec 2021 00:09:31 -0800 Subject: [PATCH] Add correct callback annotation in configurator (#62569) --- homeassistant/components/configurator/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/components/configurator/__init__.py b/homeassistant/components/configurator/__init__.py index fde0cdc590d..b94483122d0 100644 --- a/homeassistant/components/configurator/__init__.py +++ b/homeassistant/components/configurator/__init__.py @@ -205,6 +205,7 @@ class Configurator: # it shortly after so that it is deleted when the client updates. self.hass.states.async_set(entity_id, STATE_CONFIGURED) + @async_callback def deferred_remove(event: Event): """Remove the request state.""" self.hass.states.async_remove(entity_id, context=event.context)