to get temperature in custom_components controlling script, but i need to get info if this was done by script of UI to be able to override thermostat plan temporary.
This would be a useful feature, but I don’t think it exists today. I’d like to be able to tell if some state change was originated:
In the real world (or something outside of HA). Somebody flipped a switch or turned a dial in real life, or a sensor value changed to reflect the environment.
Agree, it would be enough for beginning if thermostat card have also service data field, where you can specify additional parameters. You could include either “user_id” or any other attribute you need.
You can do this in a limited sense by using an input_text entity and constructing an object with multiple fields to store in it using the to_json and from_json template filters. Or by doing the same and publishing it to a retained MQTT topic rather than an input_text.