Change the attribute of the entity (AC Temp, Fan Mode, HVAC) without sending commant to AC (from Node Red)

Hello,

i do not know why, but to change the AC mode (temp+hvac+fan_mode - is actually one IR code) i need to change them in two commands - first change fan_mode, then set temp+hvac.
I would like to change the fan_mode without sending command and the set temp+hvac according to fan_mode.
So question: how to change attribute (foe example fan_mode) in Node Red without sending command to AC


Thats what i need - 100% like i do it here in States menu. It changes it without sending any commans to ac.

Thanks a lot!

If you simply want to change the value of the climate in your homeassistant via node red you can do an HomeAssistant API call. You need to create a long lived token in HomeAssistant and then send the complete state attributes via a http post.

You mean resend all the attributes with changed one (fan_mode)?
I made so, it works, but in some seconds i get old attributes again (((

Thats the correct behaviour. As soon as your entity updates again, it will set the state it believes its in.

I can change it in lovelace and it won’t be changed again, so what is the meaning of changing something like you say if it comes back?

I just tried it in my setup by manually changing my fan. When i change the state in the developer tools, the states will actually get sent to the device, and will update to the sent value. So i assume, that this is what happens in your case as well. When you change the fan_mode in the developer tools, the change will be sent to your climate as well. Thats why it does not change back to the previous value.

The question is but how to change, but not to send…