mirror of
https://github.com/jdejaegh/irm-kmi-ha.git
synced 2025-06-27 03:35:56 +02:00
Fix typo in docstring
This commit is contained in:
parent
cda538f22f
commit
16f40cf564
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue