Initial radiator config

This commit is contained in:
2020-11-18 23:06:28 +02:00
parent 7c6255f2e8
commit 129aa527f4
16 changed files with 226 additions and 32 deletions
@@ -85,7 +85,7 @@ cards:
cards:
- type: "custom:mini-graph-card"
entities:
- sensor.living_room_thermostat_temperature
- sensor.living_room_radiator_temperature
cache: false
group_by: hour
hours_to_show: 72
@@ -19,6 +19,20 @@ cards:
layout: horizontal
max_columns: 3
cards:
- type: entities
title: Climate
icon: mdi:thermometer
show_header_toggle: false
entities:
- input_boolean.heating_enabled
- input_number.radiators_temperature
- climate.living_room_radiator_mode
- climate.bedroom_radiator_mode
- climate.kitchen_radiator_mode
- script.turn_on_all_radiators
- type: divider
- input_number.toshiba_cool_temp
- input_number.toshiba_trigger_temp
- type: custom:decluttering-card
template: climate_card
variables:
@@ -163,6 +163,10 @@ cards:
show_header_toggle: false
icon: mdi:air-purifier
entities:
- script.turn_on_all_radiators
- automation.climate_heating_turn_on_all_radiators_at_5_am
- automation.climate_heating_link_living_room_radiator_to_windows
- type: divider
- automation.climate_ac_turn_on_if_hot
- automation.climate_ac_turn_off
- type: divider
@@ -33,8 +33,14 @@ cards:
entity: sensor.multisensor_6_battery_level
name: Multisensor
- type: custom:battery-entity-row
entity: sensor.living_room_thermostat_battery_level
name: Thermostat
entity: sensor.living_room_radiator_battery_level
name: Living Room Radiator
- type: custom:battery-entity-row
entity: sensor.bedroom_radiator_battery_level
name: Bedroom Radiator
- type: custom:battery-entity-row
entity: sensor.kitchen_radiator_battery_level
name: Kitchen Room Radiator
- type: custom:battery-entity-row
entity: sensor.aeon_labs_zw130_wallmote_quad_battery_level
name: Wallmote
@@ -0,0 +1,18 @@
ac_button_card:
card:
type: custom:button-card
template: default
entity: climate.toshiba_ac
name: AC
state:
- value: 'off'
operator: '!='
styles:
card:
- background-color: var(--primary-color)
- color: black
icon:
- color: black
tap_action:
action: call-service
service: script.toshiba_ac_toggle_cool
@@ -0,0 +1,21 @@
radiator_button_card:
card:
type: custom:button-card
template: default
entity: "[[entity_id]]"
name: Radiator
icon: mdi:radiator
state:
- value: 'off'
operator: '!='
styles:
card:
- background-color: var(--primary-color)
- color: black
icon:
- color: black
tap_action:
action: call-service
service: script.toggle_radiator
service_data:
entity_id: "[[entity_id]]"
@@ -83,8 +83,12 @@
scene_color_1: rgb(254, 255, 209)
- type: horizontal-stack
title: Purifier
title: Climate
cards:
- type: custom:decluttering-card
template: radiator_button_card
variables:
- entity_id: climate.bedroom_radiator_mode
- type: custom:button-card
template:
- default
@@ -48,6 +48,10 @@
- type: horizontal-stack
title: Devices
cards:
- type: custom:decluttering-card
template: radiator_button_card
variables:
- entity_id: climate.kitchen_radiator_mode
- type: custom:decluttering-card
template: brita_water_card
- type: custom:button-card
@@ -95,14 +95,14 @@
entity: binary_sensor.pi_hole_enabled
name: Pi-Hole
icon: mdi:pi-hole
- type: entities
entities:
- entity: climate.living_room_thermostat_mode
name: Radiator
- entity: climate.toshiba_ac
name: AC
- entity: input_number.toshiba_cool_temp
- entity: input_number.toshiba_trigger_temp
- type: horizontal-stack
cards:
- type: custom:decluttering-card
template: radiator_button_card
variables:
- entity_id: climate.living_room_radiator_mode
- type: custom:decluttering-card
template: ac_button_card
- type: vertical-stack
cards:
@@ -188,7 +188,7 @@
template:
- small
- progress
entity: sensor.living_room_thermostat_temperature
entity: sensor.living_room_radiator_temperature
name: Radiator temperature
- type: custom:button-card
template:
@@ -134,22 +134,8 @@
- type: horizontal-stack
cards:
- type: custom:button-card
template: default
entity: climate.toshiba_ac
name: AC
state:
- value: 'off'
operator: '!='
styles:
card:
- background-color: var(--primary-color)
- color: black
icon:
- color: black
tap_action:
action: call-service
service: script.toshiba_ac_toggle_cool
- type: custom:decluttering-card
template: ac_button_card
- type: custom:button-card
template: default
entity: switch.camera
+1 -1
View File
@@ -353,7 +353,7 @@ sensor.average_temperature:
template:
- small
- progress
entity: sensor.living_room_thermostat_temperature
entity: sensor.living_room_radiator_temperature
name: Radiator
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
- type: custom:button-card