mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
garage door rpi_gpio.py fix (#2759)
This commit is contained in:
parent
8e6dd62853
commit
88734f05c6
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user