Skip to content

Commit

Permalink
Fix typo in docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
jdejaegh committed Feb 25, 2024
1 parent cda538f commit 16f40cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/irm_kmi/binary_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 16f40cf

Please sign in to comment.