Bump hatasmota to 0.0.29 (#43013)

This commit is contained in:
Erik Montnemery 2020-11-11 13:51:09 +01:00 committed by GitHub
parent 621a0a5dd2
commit 8cc7069323
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 266 additions and 13 deletions

View file

@ -95,8 +95,7 @@ class TasmotaAvailability(TasmotaEntity):
@callback
def availability_updated(self, available: bool) -> None:
"""Handle updated availability."""
if available and not self._available:
self._tasmota_entity.poll_status()
self._tasmota_entity.poll_status()
self._available = available
self.async_write_ha_state()