#Previous State Tracker

1 messages · Page 1 of 1 (latest)

blissful lark
#

https://github.com/klaptafel/ha-previous-state-tracker

Can anyone help me figure out how to set up an automation using this state tracker? Thanks!

I have an automation that sets my Air conditioner on a particular mode and then after some time this helper is supposed to bring it back to the previous state. I have already created the helper, but I am not sure how to add it to the automation.

GitHub

Custom helper to track the previous states of entities in Home Assistant. - klaptafel/ha-previous-state-tracker

tulip orchid
#

That just needs a scene

blissful lark
#

Please explain

blissful lark
#

Thanks. Still new to HA. I am going to need a little bit more hand holding.

I have a helper created with entity: sensor.ac_previous_mode'

how do I integrate this into the automation with scens on the fly?

I am getting the following error when trying to run the scene:

"Entity ID data is an invalid entity ID for dictionary value @ data['entities']. Got None"

tulip orchid
#

Maybe watch the video there

blissful lark
vestal galleon
#

You could also declare a variable in the automation and apply back that value

#

I do it with some lights

tulip orchid
#

Also won't survive a restart

#

Alternative is to use input_number helpers