1
0
mirror of https://github.com/elisspace/core.git synced 2026-09-01 00:44:04 +00:00

Fix regression in Tuya cover is_closed logic (#61303)

This commit is contained in:
Yehuda Davis
2021-12-09 02:40:45 -05:00
committed by Franck Nijhof
parent 7387640524
commit 24a6e90042

View File

@@ -297,7 +297,7 @@ class TuyaCoverEntity(TuyaEntity, CoverEntity):
is not None
):
return self.entity_description.current_state_inverse is not (
current_state in (False, "fully_close")
current_state in (True, "fully_close")
)
if (position := self.current_cover_position) is not None: