Cleanup async_accept_signal in ZHA (#38009)
This commit is contained in:
parent
2a975db9cf
commit
d5a03b4d6a
10 changed files with 20 additions and 19 deletions
|
@ -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
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue