Skip to content

Commit

Permalink
re-fix is_on
Browse files Browse the repository at this point in the history
  • Loading branch information
Bre77 committed Dec 10, 2023
1 parent 68030b9 commit cd151d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/tessie/binary_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,6 @@ def __init__(
self.entity_description = description

@property
def is_on(self) -> bool | None:
def is_on(self) -> bool:
"""Return the state of the binary sensor."""
return self.entity_description.is_on(self.native_value)

0 comments on commit cd151d3

Please sign in to comment.