Fix Shelly event handling (#67000)
This commit is contained in:
parent
d45921622a
commit
ba2bc975f4
1 changed files with 11 additions and 13 deletions
|
@ -681,9 +681,7 @@ class RpcDeviceWrapper(update_coordinator.DataUpdateCoordinator):
|
|||
ENTRY_RELOAD_COOLDOWN,
|
||||
)
|
||||
self.hass.async_create_task(self._debounced_reload.async_call())
|
||||
elif event_type not in RPC_INPUTS_EVENTS_TYPES:
|
||||
continue
|
||||
|
||||
elif event_type in RPC_INPUTS_EVENTS_TYPES:
|
||||
self.hass.bus.async_fire(
|
||||
EVENT_SHELLY_CLICK,
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue