mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Fix regression in Tuya cover is_closed logic (#61303)
This commit is contained in:
parent
d7756efe55
commit
f4f13b7074
@ -297,7 +297,7 @@ class TuyaCoverEntity(TuyaEntity, CoverEntity):
|
|||||||
is not None
|
is not None
|
||||||
):
|
):
|
||||||
return self.entity_description.current_state_inverse is not (
|
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:
|
if (position := self.current_cover_position) is not None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user