Skip to content

Commit

Permalink
Merge pull request #182 from chripede/patch-1
Browse files Browse the repository at this point in the history
Fix closed -> opening
  • Loading branch information
unixorn authored Feb 16, 2024
2 parents dc996ee + 2df67a7 commit 9ebc454
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ha_mqtt_discoverable/sensors.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ def closing(self) -> None:

def opening(self) -> None:
"""Set cover state to opening"""
self._update_state(self._entity.state_closed)
self._update_state(self._entity.state_opening)

def stopped(self) -> None:
"""Set cover state to stopped"""
Expand Down

0 comments on commit 9ebc454

Please sign in to comment.