Skip to content

Instantly share code, notes, and snippets.

@timmo001
Last active March 29, 2019 17:51
Show Gist options
  • Save timmo001/7cfe9965b932c5f5b45fe6d59b710a27 to your computer and use it in GitHub Desktop.
Save timmo001/7cfe9965b932c5f5b45fe6d59b710a27 to your computer and use it in GitHub Desktop.
- cards:
- entity: climate.central_heating
hide:
mode: true
state: true
sensors:
- entity: sensor.living_room_humidity
name: Humidity
- entity: sensor.outside_temperature
name: Outside Temperature
- entity: sensor.outside_humidity
name: Outside Humidity
step_size: 0.1
type: 'custom:simple-thermostat'
- entities:
- entity: switch.hot_water
icon: 'mdi:water-pump'
type: entities
- card:
entities:
- entity: timer.heating_boost
icon: 'mdi:circle-slice-1'
type: entities
conditions:
- entity: timer.heating_boost
state: active
type: conditional
- card:
entity: scene.heating_off
icon: 'mdi:radiator-off'
tap_action:
action: call-service
service: scene.turn_on
service_data:
entity_id: scene.heating_off
type: entity-button
conditions:
- entity: climate.central_heating
state_not: 'off'
type: conditional
- cards:
- card:
entity: scene.heating_boost
icon: 'mdi:circle-slice-1'
tap_action:
action: call-service
service: scene.turn_on
service_data:
entity_id: scene.heating_boost
type: entity-button
conditions:
- entity: climate.central_heating
state_not: heat
- entity: climate.central_heating
state_not: idle
type: conditional
- card:
entity: scene.heating_on
icon: 'mdi:radiator'
tap_action:
action: call-service
service: scene.turn_on
service_data:
entity_id: scene.heating_on
type: entity-button
conditions:
- entity: climate.central_heating
state: 'off'
type: conditional
type: horizontal-stack
type: vertical-stack
entities:
- entity: input_datetime.morning_heating_on
type: 'custom:time-input-row'
- entity: input_datetime.morning_heating_off
type: 'custom:time-input-row'
- entity: input_datetime.evening_heating_on
type: 'custom:time-input-row'
- entity: input_datetime.evening_heating_off
type: 'custom:time-input-row'
entity: null
show_header_toggle: false
title: "\U0001F321Central Heating Settings"
type: entities
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment