Tuya curtain robot stuck in open state (#118444)

This commit is contained in:
Lucas Mindêllo de Andrade 2024-06-22 12:22:46 -03:00 committed by GitHub
parent b5a7fb1c33
commit 3d7a47fb6b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -46,7 +46,7 @@ COVERS: dict[str, tuple[TuyaCoverEntityDescription, ...]] = {
key=DPCode.CONTROL,
translation_key="curtain",
current_state=DPCode.SITUATION_SET,
current_position=(DPCode.PERCENT_CONTROL, DPCode.PERCENT_STATE),
current_position=(DPCode.PERCENT_STATE, DPCode.PERCENT_CONTROL),
set_position=DPCode.PERCENT_CONTROL,
device_class=CoverDeviceClass.CURTAIN,
),