My timer is always manually started and shows up in history immediately. I use an automation, input_boolean and a script to manually complete the timer.
Tested on another fresh empty setup (same 2024.2.5) with SAME recorder.yaml.
Timer changes are persistently shown in History even after F5.
Odd )))
Hmm, just created an “input_select” helper - and it is not saved in History. great.
Deleted all timers - then created new (with same names) timers.
These timers do have a History. Weird.
And after a couple of “timer start” - again no History.
Hi petro,
the auotomation is triggered by an input_boolean (trigger 1) and this input_boolean is set/reset by a custom.button_card button, or a time pattern.
As you can see, it works fine.
Hi all the rest,
ok, seems there is some strange behaviour, ok, no problem, hope somebody with the right knowledge will find the time to fix it once a day.
With best reegards
Gerhard
PS: Today the calender sets my ‘holiday’ input_boolean to ‘on’, because I am in a rehabilitation facility trying to get my right leg ok again, and this was reflected in the history and also stops the activation of the circulation pump. ==> works fine. ==> my first real wold automation is ok.
Thanks all for helping.
My setup uses a custom button, but the custom Button controls didn’t work for me either. I ended up creating a script with the finished the timer command.
My input boolean and the actual timer would get out of sequence and it would stop controlling the switch. The timer:cancel command was useless for me, but timer:finished worked well for my setup.
First I add a switch card and linked it to my input_boolean which represents the state of the circulation system and which starts/stops the automation by triggers.
First trace: pump relay, second trace timer, third trace input_boolean ‘state’ and forth trace input_boolean ‘Holiday’.
I have to switch the holiday-mode off, than I started the circulation with this new switch. After some seconds I stopped it and I switched holiday on again (as a marker).
No changes in history.
Now I deleted the custom.button card, and do the same test, with the same result.
Some more tests, hope this test is the basic test, no easier/simpler test possible.
Create a helper of type timer called ‘test-timer’
Restart HA.
Click the test-timer in the list of ‘helpers’
… sorry, but there is a bug.
Fresh timer, not linked to any other device/helper/entity and started from its own configuration UI, checked with its onw configuration UI …
There may be, this is the second time I’ve heard someone having an issue with history, however the issue is not in history. If you look at the states table, there won’t be a state change. Something is blocking state changes from making it into the history table. It’s worth an issue as you’re not the first to mention this. A guy a few days ago was having the same issue with 2 input booleans.
Please mark it as a history problem and provide your states table and automation. This will be a hard issue to track down.