mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-15 12:34:42 +00:00
Add radiator buttons to home dashboard
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
radiator_button_card:
|
||||
default:
|
||||
- name: "Radiator"
|
||||
card:
|
||||
type: custom:button-card
|
||||
template: default
|
||||
entity: "[[entity_id]]"
|
||||
name: Radiator
|
||||
name: "[[name]]"
|
||||
icon: mdi:radiator
|
||||
state:
|
||||
- value: 'off'
|
||||
|
||||
@@ -136,6 +136,23 @@
|
||||
cards:
|
||||
- type: custom:decluttering-card
|
||||
template: ac_button_card
|
||||
- type: custom:decluttering-card
|
||||
template: radiator_button_card
|
||||
variables:
|
||||
- entity_id: climate.living_room_radiator_mode
|
||||
- name: "Living room"
|
||||
- type: custom:decluttering-card
|
||||
template: radiator_button_card
|
||||
variables:
|
||||
- entity_id: climate.bedroom_radiator_mode
|
||||
- name: "Bedroom"
|
||||
- type: custom:decluttering-card
|
||||
template: radiator_button_card
|
||||
variables:
|
||||
- entity_id: climate.kitchen_radiator_mode
|
||||
- name: "Kitchen"
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
template: default
|
||||
entity: switch.camera
|
||||
|
||||
Reference in New Issue
Block a user