garage door rpi_gpio.py fix (#2759)

This commit is contained in:
Phil Hansen
2016-08-08 21:03:23 -05:00
committed by Paulus Schoutsen
parent 8e6dd62853
commit 88734f05c6

View File

@@ -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):