Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Commit

Permalink
Added log message for unknown door statuses
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Heinmiller authored and Adam Heinmiller committed Jun 13, 2014
1 parent 2e70cbd commit 634d9e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ST_MyQ_Device_Type.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,8 @@ def translateDoorStatus(status)
else if (status == "4") dReturn = "opening"
else if (status == "5") dReturn = "closing"
else if (status == "3") dReturn = "stopped"

if (dReturn == "unknown") { log.debug "Unknown Door Status ID: $status" }

return dReturn
}
Expand Down

0 comments on commit 634d9e6

Please sign in to comment.