Skip to content

Commit

Permalink
simpler cover fix, not based on cover state
Browse files Browse the repository at this point in the history
  • Loading branch information
jdeneef committed Oct 20, 2024
1 parent cedc750 commit 2ba85bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/gpiod/cover.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ async def async_added_to_hass(self) -> None:

# dirty hack to enable reuse of switch
def is_on(self):
return self.is_closed
return False

def update(self):
self.is_closed = self._hub.update(self._state_port)
Expand Down
2 changes: 1 addition & 1 deletion custom_components/gpiod/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
"iot_class": "local_push",
"issue_tracker": "https://github.com/jdeneef/ha_gpiod/issues",
"requirements": [ "gpiod>=2.0.2" ],
"version": "1.4.4"
"version": "1.4.5"
}

0 comments on commit 2ba85bc

Please sign in to comment.