Skip to content
Snippets Groups Projects
Unverified Commit 98bcf4f2 authored by Martin Hjelmare's avatar Martin Hjelmare Committed by GitHub
Browse files

Fix ozw garage door methods (#37374)

parent a6fb9e61
No related branches found
No related tags found
No related merge requests found
......@@ -113,10 +113,10 @@ class ZwaveGarageDoorBarrier(ZWaveDeviceEntity, CoverEntity):
"""Return the current position of Zwave garage door."""
return self.values.primary.value[VALUE_SELECTED_ID] == 0
def close_cover(self, **kwargs):
async def async_close_cover(self, **kwargs):
"""Close the garage door."""
self.values.primary.send_value(0)
def open_cover(self, **kwargs):
async def async_open_cover(self, **kwargs):
"""Open the garage door."""
self.values.primary.send_value(4)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment