monster400
(Andreas Scholdan)
October 27, 2016, 4:31am
1
Hello
Im unable to get this working:
alias: Set temp to 22c at 07:00
trigger:
platform: time
after: ‘07:00:00’
action:
service: zwave.set_config_parameter
entity_id: climate.termostat_heating_1_2_1
data:
parameter: ‘67’
value: ‘22’
Anyone tried something like this before?
Post YAML in code tags to preserve spacing. Not sure you have to use zwave.set_config_parameter. Also, you misspelled “thermostat”.
Here’s mine:
configuration.yaml
:
automation: !include_dir_merge_list automation/
script: !include script.yaml
automation/heat.yaml
:
- alias: 'Set heat higher in the morning'
trigger:
platform: time
after: "07:40"
condition:
condition: and
conditions:
- condition: state
entity_id: group.all_devices
state: 'home'
- condition: state
entity_id: input_boolean.automation_override
state: 'off'
action:
service: script.heat_occupied
script.yaml
:
heat_occupied:
alias: "occupied heat"
sequence:
- service: climate.set_temperature
data:
entity_id: climate.stelpro_stzw402_electronic_thermostat_heating_1_11
temperature: !secret heat_target_occupied
1 Like
monster400
(Andreas Scholdan)
October 27, 2016, 7:34pm
3
Hey
Tried the code, but still doesn’t work, also the climate.termostat_heating_1_2_1 is a danish product that why you thing it´s misspelled. any other idea
monster400
(Andreas Scholdan)
October 28, 2016, 12:38am
4
Solved
- alias: 'Set heat 21c at 07:00'
trigger:
platform: time
after: "07:00:00"
action:
- service: climate.set_temperature
data:
entity_id: climate.termostat_heating_1_2_1
temperature: 21
operation_mode: Heat
- alias: 'Set heat 16c at 22:30'
trigger:
platform: time
after: "22:30:00"
action:
- service: climate.set_temperature
data:
entity_id: climate.termostat_heating_1_2_1
temperature: 16
operation_mode: Heat