Skip to content

Commit

Permalink
Merge pull request #1 from itchannel/1.03
Browse files Browse the repository at this point in the history
fix Auto status for outputs
  • Loading branch information
itchannel authored Jul 26, 2022
2 parents 46f8c3a + 8a70ca5 commit ea29ad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/apex/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def is_on(self):
return False
for value in self.coordinator.data["outputs"]:
if value["did"] == self.switch["did"]:
if value["status"][0] == "ON" or value["status"][0] == "AUTO":
if value["status"][0] == "ON" or value["status"][0] == "AON":
return True
else:
return False
Expand Down

0 comments on commit ea29ad1

Please sign in to comment.