mirror of
https://github.com/home-assistant/core.git
synced 2025-08-09 23:55:07 +02:00
Fix implicit-return in satel_integra (#122925)
This commit is contained in:
@@ -109,10 +109,11 @@ class SatelIntegraBinarySensor(BinarySensorEntity):
|
|||||||
return self._name
|
return self._name
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def icon(self):
|
def icon(self) -> str | None:
|
||||||
"""Icon for device by its type."""
|
"""Icon for device by its type."""
|
||||||
if self._zone_type is BinarySensorDeviceClass.SMOKE:
|
if self._zone_type is BinarySensorDeviceClass.SMOKE:
|
||||||
return "mdi:fire"
|
return "mdi:fire"
|
||||||
|
return None
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def is_on(self):
|
def is_on(self):
|
||||||
|
Reference in New Issue
Block a user