Fix typo in docstring

This commit is contained in:
Jules 2024-02-25 14:32:17 +01:00
parent cda538f22f
commit 16f40cf564
Signed by: jdejaegh
GPG key ID: 99D6D184CA66933A

View file

@ -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))