Hi, looking for a bit of help on what should be something so simple. I want to use an input_number as a digital piggy bank for my kids. As they complete chores around the house they mark them off in the home assistant companion app. Once we’ve confirmed the chore has been completed the value assigned to the chore should be added to the input_number value already in place.
Most of the automation for this is in node red so I’ve been using the input_nuber.set_value but can only seem to set the value to a specific number not increase the value by a defined amount.
There’s an input_number.increment service/action you can use. You can even go fancy (eventually) and increment the value based on the chore type - easier chores get a +1 increment, while harder chores get a +5 increment.
I did think about using a points-based system but as my two eldest are teenagers, they want to see a monetary value to the chores they have completed. Therefore, I’ve set the units to £ and the increment value to 0.01. So an individual increment would only change the value by 0.01, but chores range in monetary value, eg £0.50, £0.75, or £1.00, so I would need a way to add to the initial number by varying increments.
Unless you realistically need 0.01 increments, at least use a step size of 0.25.
It’ll make it easier to increment steps, since you’d only need to call it 4 times for £1.00 instead of 100 times.