Dirnei / node-red-contrib-zigbee2mqtt-devices

Node-red nodes for controlling and managing zigbee devices managed by zigbee2mqtt
MIT License
30 stars 7 forks source link

Hotfix/nodered crash hue undefined action #113

Closed Andreas-Huber closed 2 years ago

Andreas-Huber commented 2 years ago

Not setting property on Hue Remote device caused a complete Node-Red restart. The property was checked for a string containing 'undefined' not undefined. Fixes #93

Also as a preventive measure, I implemented to check the action for an empty string in the scenic remote and sonnoff buttons.