Skip to content

Commit

Permalink
prefer opened/closed over open/close
Browse files Browse the repository at this point in the history
  • Loading branch information
xZetsubou committed May 12, 2024
1 parent ca2da10 commit 298d561
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions custom_components/localtuya/core/ha_entities/locks.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ def localtuya_lock():
LocalTuyaEntity(
id=(DPCode.REMOTE_UNLOCK_SWITCH, DPCode.SWITCH),
jammed_dp=DPCode.HIJACK,
lock_state_dp=(DPCode.OPEN_CLOSE, DPCode.CLOSED_OPENED),
custom_configs=localtuya_lock(),
lock_state_dp=(DPCode.CLOSED_OPENED, DPCode.OPEN_CLOSE),
),
),
}
Expand Down

0 comments on commit 298d561

Please sign in to comment.