Christian-Me / node-red-contrib-homie-convention

Node-RED node for MQTT communication according the Homie Convention
Apache License 2.0
13 stars 2 forks source link

"enum $datatype expects $format with minimum of 2 comma separated values"; why? #16

Open JayFoxRox opened 1 year ago

JayFoxRox commented 1 year ago

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#locatelocate

However, the current implementation prevents that:

https://github.com/Christian-Me/node-red-contrib-homie-convention/blob/5a4c4686001b49fea1b1cf2ef8b2e3bb3f0f3529/nodes/homie-device-config/homie-device-config.js#L454-L458

I checked the homie convention and I can't see where it says that an enum must have at least 2 values.