Miscellaneous ESPHome cleanups (#19425)
This commit is contained in:
parent
c0ae7b1a49
commit
7317b1bb8b
3 changed files with 8 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue