Miscellaneous ESPHome cleanups (#19425)

This commit is contained in:
Otto Winter 2018-12-18 19:04:50 +01:00 committed by Martin Hjelmare
parent c0ae7b1a49
commit 7317b1bb8b
3 changed files with 8 additions and 2 deletions

View file

@ -60,4 +60,4 @@ class EsphomeBinarySensor(EsphomeEntity, BinarySensorDevice):
"""Return True if entity is available."""
if self._static_info.is_status_binary_sensor:
return True
return super(EsphomeEntity, self).available
return super().available