Remove un-needed asserts on hass in Amecrest (#55244)

This commit is contained in:
Sean Vig 2021-08-26 02:34:58 -04:00 committed by GitHub
parent 3d7bfa8357
commit b45c985d58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 19 deletions

View file

@ -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,