Hello,
I want to have a scene that turns off my generic thermostat but I can not figure out how to make this work. I have tried putting the code to turn off the heater in a script then turning it on from the scene.
platform: generic_thermostat
name: Study
heater: switch.study_heater
In climate component, you’ll have a heater (point to a switch), to turn it off, just turn off the switch (you can use input_boolean to create a switch)
Your second attempt should be working. However, remove the entity_id parameter from data: and place it on the same indentation level as data: and service
P.S.use non-capitalized off, and make sure you are using proper quotation marks. Some non-English keyboards input different quotation marks.
Sorry for reviving an old thread, but suggested fix didnt work for me, however with that info I managed to work it out so posting complete fix as may help someone else.
- id '16022203400000'
alias: boiler_switch_off_daytime
trigger:
- at: '23:30:00'
platform: time
condition: []
action:
- data:
entity_id: climate.heating
service: climate.turn_off
Just check in your list of entities whet your entity_id is for your setup and replace “climate.heating” with “climate.<your_device_id>” & adjust times to your preference.