Damn it!
I’m feeling so newbie and playing around with things.
I managed to set some variables like temperature etc, but its not updating to the device. In the morning I found somewhere 2 lines that I had to add to update settings to the device, but I cant find them anymore. I searched the forum, my browsers history etc.
So, can someone help me what I have to enter at the end, that when I press “SET STATE” that it will be updated to my device?
The state-change performed by “Set State” isn’t permanent.
For example, if you use it to change a sensor entity’s value, the changed value will be overridden the moment the sensor receives a new value from its integration. It will also be overridden on startup/reload.
In addition, the forced value only exists within Home Assistant’s state-machine; the forced value is not transmitted to the physical device. For example, if a physical light is off and you use “Set State” to set its light entity to on, it won’t turn on the physical light.
“Set State” is useful for testing automations (i.e. force an entity’s value to something else in order to trigger the automation) but not much more than that.
Yes, that’s like how I understood it, its only for testing and not permanent. Just wanted to try something like to turn the physical light on until it would be overwritten. I’m really new to HA and try to figure things out how its working with states, entities, python scripts etc.
Stumbled on this thread while searching for something close to this. My question is, from Developer tools, State i can change any state. Is it possible to do that from an automation?
Yes, I want to do this also , anyway of doing this? In my case, my son (10) leaves home and his location is not updated, because he has to turn off his phone on school.
So my idea is to make an automation that triggers a set state of my son to not_home after his state has not been updated for eg 4 hours. How to do this?
The Developer Tools to set state for a person works perfectly and as expected, however it doesn’t seem to be possible in an automation?!