Call service / state from climate domain

Is it possible to call state attributes for an AC unit to change its settings? I feel Im close

Available attributes:

What Im doing:

It unit is accessible as I can action the turn_off and turn_on service. Its just the process for setting modes Im not yet clear on. (ie its not actually changing from low to high)
Thanks in advance

Try and change this:

Change to Expression? Same (lack of) response

image

How does the set fan mode service call look in HA in yaml view?

In script:

alias: New Script
sequence:
  - service: climate.set_fan_mode
    data:
      fan_mode: high
    target:
      device_id: 45f0d25ee6189e6e8aexxxxxxxxxxx
mode: single


alias: New Script
sequence:
  - service: climate.set_hvac_mode
    data:
      hvac_mode: heat_cool
    target:
      device_id: 45f0d25ee6189e6e8aexxxxxxxxxxx
mode: single

Ive posted hvac mode as well - setting that does change the unit mode, whereas fan_mode doesnt change.

Ive only tried fan_mode first in NR assuming it was probably the easier one. Ill try the other services instead in case its just a peculiarity with fan mode.

NR just calls the service in HA, so if the HA call fails, then start to look at HA only.
Just test that you can call it from the developer tools in HA.

Sorted thanks, it was just a capitalization issue with Low vs low that I found when I checked developer attributes
For some reason those values have capitals and I missed that fact

Great! Onwards to the next problem! :slight_smile:

1 Like