Cleanup async_accept_signal in ZHA (#38009)
This commit is contained in:
1 parent
2a975db9cf
commit
d5a03b4d6a
10 files changed
+20
-19
No files matched your search
@@ -80,7 +80,7 @@ class BinarySensor(ZhaEntity, BinarySensorEntity):
|
||||
"""Run when about to be added to hass."""
|
||||
await super().async_added_to_hass()
|
||||
await self.get_device_class()
|
||||
await self.async_accept_signal(
|
||||
self.async_accept_signal(
|
||||
self._channel, SIGNAL_ATTR_UPDATED, self.async_set_state
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user