Great news, I am really enjoying making the most of the cheap periods of electricity. Here is my ‘Heating on timer’ and heating off… Warm in the morning and ready for when I get home from work. I find my Economy7 heaters take about 2 hours from start of charge to give out full heat. I am using a Conbee Zigbee stick and Xiaomi Aqara Temperature sensors for my temperature monitoring and a Sonoff Zigbee Switch to control the Contactor I have had installed at the consumer unit to turn the heaters on and off
alias: Heating timer
description: ''
trigger:
- hours: '*'
minutes: '30'
platform: time_pattern
seconds: '10'
- hours: '*'
minutes: '0'
platform: time_pattern
seconds: '10'
condition:
- below: '9'
condition: numeric_state
entity_id: sensor.electricity_cost
- condition: or
conditions:
- below: '19.5'
condition: numeric_state
entity_id: sensor.lounge_sensor
- below: '19.5'
condition: numeric_state
entity_id: sensor.upstairs_sensor
- condition: or
conditions:
- after: 02:00:00
before: 05:00:00
condition: time
- after: '14:00:00'
before: '22:00:00'
condition: time
action:
- device_id: d99ad6ee9bb5458a9ada3827b9894fe1
domain: light
entity_id: light.heating_switch
type: turn_on
alias: Heating off
description: ''
trigger:
- above: '20'
entity_id: sensor.upstairs_sensor
platform: numeric_state
- above: '9'
entity_id: sensor.electricity_cost
platform: numeric_state
- at: 05:00:00
platform: time
- at: '22:00:00'
platform: time
- above: '20'
entity_id: sensor.lounge_sensor
platform: numeric_state
condition: []
action:
- device_id: d99ad6ee9bb5458a9ada3827b9894fe1
domain: light
entity_id: light.heating_switch
type: turn_off