mirror of
https://github.com/home-assistant/core.git
synced 2025-08-07 06:35:10 +02:00
Add correct callback annotation in configurator (#62569)
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user