From 16f40cf5640ed553d5c1bfe8a29a901a08377954 Mon Sep 17 00:00:00 2001 From: Jules Dejaeghere Date: Sun, 25 Feb 2024 14:32:17 +0100 Subject: [PATCH] Fix typo in docstring --- custom_components/irm_kmi/binary_sensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ class IrmKmiWarning(CoordinatorEntity, BinarySensorEntity): @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))