Hello,
I’ve set up a chore tracker for my son where he can toggle input booleans on each day of the week. I’m using node red to detect the state changes of the input booleans and increment a chore completed counter for each day, that all works fine.
The issue I’m having is if I restart HA, or deploy changes to Node Red and there are booleans toggled, it increments the counter again, resulting in the counter being double what the number of input booleans turned on.
Is there anyway to have Node Red disregard the state of the input booleans at start up and only count the changes after?
Any help would be much appreciated.