Hello!
I have a thermostat defined as
climate:
- platform: generic_thermostat
name: Living Room Thermostat
unique_id: living_room_thermostat
heater: switch.thermostatlivingroom_switch_0
target_sensor: sensor.esp_bme680_temperature
cold_tolerance: 0.5
hot_tolerance: 0.5
min_temp: 16
max_temp: 30
I would like to switch the thermostat mode heat/cool using an automation.
I setup an helper dropdown and a couple related automations (for cool/heat respectively). E.g.
alias: HVAC Cool Mode
description: ""
trigger:
- platform: state
entity_id:
- input_select.hvac_mode
to: Cool
condition: []
action:
- service: climate.set_hvac_mode
metadata: {}
data:
hvac_mode: cool
target:
floor_id:
- basement
- ground_floor
mode: single
Now, the automation correctly set the thermostat’s state but the hvac_modes
associated with it are wrong
Due to this I can’t use the thermostat “cool” action from somewhere else (e.g. a scheduler). What am I missing?
Thanks