mirror of
https://github.com/thecode/ha-rpi_gpio.git
synced 2025-04-19 12:27:17 +00:00
Remove wrong comment about cover (#329)
This commit is contained in:
parent
9d6dea6175
commit
7e4eda3636
@ -199,7 +199,6 @@ class Hub:
|
||||
bias = BIAS[bias],
|
||||
active_low = active_low)},
|
||||
) as request:
|
||||
# Although we prefer to set the _attr_is_on attribute, in cover it does not exists for whatever reason.
|
||||
entity.is_on = True if request.get_value(port) == Value.ACTIVE else False
|
||||
|
||||
_LOGGER.debug(f"current value for port {port}: {entity.is_on}")
|
||||
|
Loading…
x
Reference in New Issue
Block a user