You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Catch any other event with a string value that hasn't been handled:
483
482
elseif (evt.value ==~/.*[^0-9\.,-].*/) { // match if any characters are not digits, period, comma, or hyphen.
484
-
logger("handleEvent(): Found a string value that's not explicitly handled: Device Name: ${deviceName}, Event Name: ${evt.name}, Value:${evt.value}","warn")
483
+
logger("parseEvent(): Found a string value that's not explicitly handled: Device Name: ${deviceName}, Event Name: ${evt.name}, Value:${evt.value}","warn")
485
484
value ='"'+ value +'"'
486
485
data +=",unit=${unit} value=${value}"
487
486
}
@@ -799,4 +798,4 @@ private getGroupName(id) {
799
798
elseif (id =='XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX') {return'Lounge'}
800
799
elseif (id =='XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX') {return'Office'}
0 commit comments