Skip to content

Commit

Permalink
Use the appropriate attribute for the Window sensor (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
ignisf authored Jan 25, 2023
1 parent 224b188 commit f7a3b93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/dbuezas_eq3btsmart/binary_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def __init__(self, _thermostat: Thermostat):
self._attr_device_class = "window"

@property
def state(self):
def is_on(self):
return self._thermostat.window_open


Expand Down

0 comments on commit f7a3b93

Please sign in to comment.