garage door rpi_gpio.py fix (#2759)
This commit is contained in:
1 parent
8e6dd62853
commit
88734f05c6
1 file changed
+1
-1
@@ -72,7 +72,7 @@ class RPiGPIOGarageDoor(GarageDoorDevice):
|
||||
|
||||
def update(self):
|
||||
"""Update the state of the garage door."""
|
||||
self._state = rpi_gpio.read_input(self._state_pin) is True
|
||||
self._state = rpi_gpio.read_input(self._state_pin)
|
||||
|
||||
@property
|
||||
def is_closed(self):
|
||||
|
||||
Reference in new issue
Block a user