Add correct callback annotation in configurator (#62569)
This commit is contained in:
parent
14e4216e29
commit
5580e87253
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue