Counter helper HA increment with more then 1

Hi, Ok playing with node-red now so again to drawing board for me :wink:, and as off yaml was not difficult enough now json pff that's even more Chinese to be honest :stuck_out_tongue:

I added a counter (HA helper) in node-RED and I increment very easy with 1 but how can I do this with for instance 5, in yaml it was this but that off-course does not work with the json requirement of node-RED

    count: 5
    sequence:
    - service: counter.increment
      entity_id: counter.COUNTER```

This works but only to add 1 I need to do this probably in the json window, but have no idea to be honest :frowning:

'''
[{"id":"7dafd1cb.d31db","type":"tab","label":"Playroom","disabled":false,"info":""},{"id":"5d989d59.401424","type":"inject","z":"7dafd1cb.d31db","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":250,"y":160,"wires":[["9a2aab8c.5205b8"]]},{"id":"75e1a605.1293e8","type":"debug","z":"7dafd1cb.d31db","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":720,"y":160,"wires":},{"id":"9a2aab8c.5205b8","type":"api-call-service","z":"7dafd1cb.d31db","name":"","server":"95b0db39.5b73f8","version":1,"debugenabled":false,"service_domain":"counter","service":"increment","entityId":"counter.dev_counter","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":470,"y":160,"wires":[["75e1a605.1293e8"]]},{"id":"95b0db39.5b73f8","type":"server","name":"Home Assistant","legacy":false,"addon":false,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true}]

'''

Thanks!

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.