I have some node-red flows that used to work but stop working recently and not sure what’s broken.
[{"id":"867367eb.3f9da8","type":"template","z":"845016a6.b38828","name":"template msg","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"{ \"data\": {\"entity_id\" : \"light.xxxxx\", \"brightness\": 254, \"rgb_color\" : [0, 153, 0], \"transition\": 2 }}","output":"str","x":740,"y":120,"wires":[["d015d042.04841"]],"icon":"node-red-contrib-color-convert/color-convert.png"},{"id":"d015d042.04841","type":"api-call-service","z":"845016a6.b38828","name":"turn_on","server":"e8b4e59e.644ec8","version":5,"debugenabled":false,"domain":"homeassistant","service":"turn_on","areaId":[],"deviceId":[],"entityId":[],"data":"{}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"data"}],"queue":"none","x":920,"y":120,"wires":[[]]},{"id":"3ae996ce.c18a7a","type":"inject","z":"845016a6.b38828","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":570,"y":120,"wires":[["867367eb.3f9da8"]]},{"id":"e8b4e59e.644ec8","type":"server","name":"Home Assistant","version":2,"addon":false,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":30}]
Above is one of sample flow, it tries to call the turn_on service with certain brightness, rgb_color and transition. The light is SYLVANIA Smart ZigBee strip. It was worked ok before but not working now. When the flow is run, the light doesn’t turn on at all.
Does anyone know what could be wrong?
Thanks.