diff --git a/custom_components/irm_kmi/binary_sensor.py b/custom_components/irm_kmi/binary_sensor.py index 531b549..567309d 100644 --- a/custom_components/irm_kmi/binary_sensor.py +++ b/custom_components/irm_kmi/binary_sensor.py @@ -57,7 +57,7 @@ def is_on(self) -> bool | None: @property def extra_state_attributes(self) -> dict: - """Return the camera state attributes.""" + """Return the warning sensor attributes.""" attrs = {"warnings": self.coordinator.data.get('warnings', [])} now = datetime.datetime.now(tz=pytz.timezone(self.hass.config.time_zone))