Remove un-needed asserts on hass in Amecrest (#55244)
This commit is contained in:
parent
3d7bfa8357
commit
b45c985d58
3 changed files with 0 additions and 19 deletions
|
@ -232,8 +232,6 @@ class AmcrestBinarySensor(BinarySensorEntity):
|
|||
|
||||
async def async_added_to_hass(self) -> None:
|
||||
"""Subscribe to signals."""
|
||||
assert self.hass is not None
|
||||
|
||||
self._unsub_dispatcher.append(
|
||||
async_dispatcher_connect(
|
||||
self.hass,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue