harrys
(harrys)
October 25, 2024, 4:11pm
1
Hello
I have the following thermostat setup to control my central heating boiler …
climate:
- platform: generic_thermostat
name: central heating
unique_id: central heating thermostat
heater: switch.central_heating_switch_switch
target_sensor: sensor.outside_sensor_side_lounge_temperature
cold_tolerance: 0.0
hot_tolerance: 0.3
max_temp: 25
min_temp: 15
Looking for help in setting up an automation so that when i say “ok nabu set the heating to 22 degrees” it will change the entity “switch.central_heating_switch_switch” to this value
Is it possible?
Thanks
There are sentences and intents for setting temperature of a climate
entity, but they haven’t been added to the default set of built-in intents . I don’t know why they aren’t included yet.
You can accomplish what you want using an automation with a Sentence trigger.
alias: Sentence - Set Heating
description: ""
triggers:
- trigger: conversation
command:
- >-
[set | change | adjust] [temperature | heating] to {temp_value}
[degrees]
conditions: []
actions:
- action: climate.set_temperature
target:
entity_id: climate.central_heating
data:
temperature: "{{trigger.slots.temp_value | float(40) }}"
hvac_mode: heat
mode: single
1 Like
harrys
(harrys)
October 26, 2024, 3:28pm
3
Thank you digeridrew, just what i was looking for
newbie to HA yaml stuff, much appreciated
Thanks a lot!! I used your Yaml and created several automations for my smart thermostat knobs.
Now they are controlled by voice!