#Helper boolean, time changed
1 messages · Page 1 of 1 (latest)
yes, you can pull out the last_changed value from the state object - however I don't think this will persist across restarts
{{states['your_entity_id']['last_changed']}}
Another way of doing it would be to have a button helper that you "press" every time you change the boolean value - that would store the time much more reliably in the state of the button
I take you can press a button through "code"? What's the difference really between a button and a toggle?