diff --git a/custom_components/ramses_cc/binary_sensor.py b/custom_components/ramses_cc/binary_sensor.py index 571966a..6b88610 100644 --- a/custom_components/ramses_cc/binary_sensor.py +++ b/custom_components/ramses_cc/binary_sensor.py @@ -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