Fix implicit-return in satel_integra (#122925)
This commit is contained in:
parent
b8ac86939b
commit
9860109db9
1 changed files with 2 additions and 1 deletions
|
@ -109,10 +109,11 @@ class SatelIntegraBinarySensor(BinarySensorEntity):
|
|||
return self._name
|
||||
|
||||
@property
|
||||
def icon(self):
|
||||
def icon(self) -> str | None:
|
||||
"""Icon for device by its type."""
|
||||
if self._zone_type is BinarySensorDeviceClass.SMOKE:
|
||||
return "mdi:fire"
|
||||
return None
|
||||
|
||||
@property
|
||||
def is_on(self):
|
||||
|
|
Loading…
Add table
Reference in a new issue