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:
committed by
Franck Nijhof
parent
7387640524
commit
24a6e90042
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user