# Counter helper HA increment with more then 1

**URL:** <https://discourse.nodered.org/t/counter-helper-ha-increment-with-more-then-1/44625>\
**Category:** General\
**Created:** [23 April 2021 18:20 UTC](https://discourse.nodered.org/t/counter-helper-ha-increment-with-more-then-1/44625 "2021-04-23T18:20:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dmertens](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dmertens/32/40652_2.png) [@dmertens](https://discourse.nodered.org/u/dmertens)\
**Post date:** [23 April 2021 18:20 UTC](https://discourse.nodered.org/t/counter-helper-ha-increment-with-more-then-1/44625/1 "2021-04-23T18:20:34Z")

</div>

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

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

````auto
    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 ☹

'''  
[{"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!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [22 June 2021 18:20 UTC](https://discourse.nodered.org/t/counter-helper-ha-increment-with-more-then-1/44625/2 "2021-06-22T18:20:35Z")

</div>

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