Skip to content

Commit

Permalink
mypy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zxdavb committed Dec 4, 2024
1 parent b66f78d commit 72c1cb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/ramses_cc/binary_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def is_on(self) -> bool | None:
return getattr(self._device, self.entity_description.ramses_rf_attr)

@property
def icon(self) -> str:
def icon(self) -> str | None:
"""Return the icon to use in the frontend, if any."""
return (
self.entity_description.icon
Expand Down

0 comments on commit 72c1cb1

Please sign in to comment.