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
// check of enum $datatype has a comma separated list of minimum 2 items
if(currentProperty.$datatype==='enum'){
if(currentProperty.$format===undefined||currentProperty.$format.length==0){currentProperty.validationError="enum $datatype need $format specified";returnfalse;}
if(currentProperty.$format.indexOf(',')<0){currentProperty.validationError="enum $datatype expects $format with minimum of 2 comma separated values";returnfalse;}
}
I checked the homie convention and I can't see where it says that an enum must have at least 2 values.
The text was updated successfully, but these errors were encountered:
I'm trying to use homie with valetudo, but it doesn't allow me to use the locate capability, which only allows
PERFORM
: https://valetudo.cloud/pages/integrations/mqtt.html#locatelocateHowever, the current implementation prevents that:
node-red-contrib-homie-convention/nodes/homie-device-config/homie-device-config.js
Lines 454 to 458 in 5a4c468
I checked the homie convention and I can't see where it says that an enum must have at least 2 values.
The text was updated successfully, but these errors were encountered: