Skip to content

Commit

Permalink
Treat lockstate 'unlatched' as OFF instead of setting to UNDEF
Browse files Browse the repository at this point in the history
  • Loading branch information
seime committed Nov 25, 2023
1 parent e302c35 commit 86eda91
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,7 @@ private State parseLockState(String stateString) {
case "kAugLockState_Locked":
state = OnOffType.ON;
break;
case "unlatched":
case "unlocked":
case "kAugLockState_Unlocked":
state = OnOffType.OFF;
Expand Down

0 comments on commit 86eda91

Please sign in to comment.