Hello everyone,
Can someone tell me if it is possible to change an attribute of an entity via an automation? If so, how would I do that best?
Thanks for any reaction
Hello everyone,
Can someone tell me if it is possible to change an attribute of an entity via an automation? If so, how would I do that best?
Thanks for any reaction
What type of entity?
You might get more helpful answers if you ask about the problem you are trying to solve instead of skipping to the solution you’re considering.
I have an integration ariston (see attachment) and would like to adjust the temperature via an automation. Is this possible?
i think you have to make a sensor from that attribute and then you can make an automation of that sensor state
Thanks for your response!
But as far as I know I can’t adjust the value of a sensor via an automation??
Sure, just select a trigger and the action would be something like this
action: climate.set_temperature
metadata: {}
data:
temperature: 30
target:
entity_id: climate.thuis
Sorry, but I have already tried this and it seemed logical to me. But then the attribute ‘Temperature’ does not change! That is why this question.
You cannot adjust the sensor itself. It is what it is and shall be that forever. You don’t change it. You make a template sensor that sits next to it with your adjusted value in it and use that. That’s how HA does stuff.
Please share the Automation code you currently have…
Oei, is it possible to explain this a little. I test a lot with HA to learn a lot but apparently I am not there yet!!
I don’t have one yet, I don’t know where to start. The goal is just to be able to turn the thermostat temperature up or down.
And
Reach back out when you have a thermostat
There are actions for this listed on the Climate documentation page. See: Climate - Home Assistant
However you have already been given an example of this above by Liquid_cooled.
So we need to find out why this happened:
But then you say you don’t have an automation.
So if you do not have an automation how did you try the action?