mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-09-06 18:08:45 +00:00
Rename button templates
This commit is contained in:
@@ -25,21 +25,21 @@ cards:
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: regular
|
||||||
name: Automations
|
name: Automations
|
||||||
icon: mdi:reload
|
icon: mdi:reload
|
||||||
tap_action:
|
tap_action:
|
||||||
action: call-service
|
action: call-service
|
||||||
service: automation.reload
|
service: automation.reload
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: regular
|
||||||
name: Scripts
|
name: Scripts
|
||||||
icon: mdi:reload
|
icon: mdi:reload
|
||||||
tap_action:
|
tap_action:
|
||||||
action: call-service
|
action: call-service
|
||||||
service: script.reload
|
service: script.reload
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: regular
|
||||||
name: Scenes
|
name: Scenes
|
||||||
icon: mdi:reload
|
icon: mdi:reload
|
||||||
tap_action:
|
tap_action:
|
||||||
@@ -48,21 +48,21 @@ cards:
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: regular
|
||||||
name: Groups
|
name: Groups
|
||||||
icon: mdi:reload
|
icon: mdi:reload
|
||||||
tap_action:
|
tap_action:
|
||||||
action: call-service
|
action: call-service
|
||||||
service: group.reload
|
service: group.reload
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: regular
|
||||||
name: Theme
|
name: Theme
|
||||||
icon: mdi:reload
|
icon: mdi:reload
|
||||||
tap_action:
|
tap_action:
|
||||||
action: call-service
|
action: call-service
|
||||||
service: frontend.reload_themes
|
service: frontend.reload_themes
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: regular
|
||||||
name: Resources
|
name: Resources
|
||||||
icon: mdi:reload
|
icon: mdi:reload
|
||||||
tap_action:
|
tap_action:
|
||||||
|
|||||||
@@ -5,28 +5,28 @@ cards:
|
|||||||
cards:
|
cards:
|
||||||
- type: custom:gui-sandbox
|
- type: custom:gui-sandbox
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: regular
|
||||||
icon: mdi:reload
|
icon: mdi:reload
|
||||||
name: Theme
|
name: Theme
|
||||||
tap_action:
|
tap_action:
|
||||||
action: call-service
|
action: call-service
|
||||||
service: frontend.reload_themes
|
service: frontend.reload_themes
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: regular
|
||||||
icon: mdi:reload
|
icon: mdi:reload
|
||||||
name: Resources
|
name: Resources
|
||||||
tap_action:
|
tap_action:
|
||||||
action: call-service
|
action: call-service
|
||||||
service: lovelace.reload_resources
|
service: lovelace.reload_resources
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: regular
|
||||||
name: time picker
|
name: time picker
|
||||||
icon: mdi:clock
|
icon: mdi:clock
|
||||||
tap_action:
|
tap_action:
|
||||||
action: navigate
|
action: navigate
|
||||||
navigation_path: "#time_picker"
|
navigation_path: "#time_picker"
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: regular
|
||||||
icon: mdi:folder
|
icon: mdi:folder
|
||||||
name: folder
|
name: folder
|
||||||
tap_action:
|
tap_action:
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
default:
|
default:
|
||||||
template: [small, with_state_background]
|
template: [regular, with_state_background]
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
hallway_dashboard_mode:
|
hallway_dashboard_mode:
|
||||||
template: [mobile]
|
template: [small]
|
||||||
entity: input_select.hallway_dashboard_mode
|
entity: input_select.hallway_dashboard_mode
|
||||||
show_state: true
|
show_state: true
|
||||||
show_name: false
|
show_name: false
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
humidity_button:
|
humidity_button:
|
||||||
type: custom:button-card
|
type: custom:button-card
|
||||||
template: [small, progress]
|
template: [regular, progress]
|
||||||
state_display: "[[[ return Math.round(entity.state) + ' %' ]]]"
|
state_display: "[[[ return Math.round(entity.state) + ' %' ]]]"
|
||||||
icon: mdi:water-percent
|
icon: mdi:water-percent
|
||||||
variables:
|
variables:
|
||||||
|
|||||||
+6
-6
@@ -1,14 +1,14 @@
|
|||||||
mobile:
|
regular:
|
||||||
size: 24px
|
size: 30px
|
||||||
hold_action:
|
hold_action:
|
||||||
action: more-info
|
action: more-info
|
||||||
styles:
|
styles:
|
||||||
card:
|
card:
|
||||||
- height: 70px
|
- height: 100px
|
||||||
- font-size: 14px
|
- font-size: 14px
|
||||||
grid:
|
grid:
|
||||||
- height: 60px
|
- height: 90px
|
||||||
img_cell:
|
img_cell:
|
||||||
- height: 40px
|
- height: 60px
|
||||||
name:
|
name:
|
||||||
- height: 24px
|
- height: 30px
|
||||||
@@ -1,14 +1,14 @@
|
|||||||
small:
|
small:
|
||||||
size: 30px
|
size: 24px
|
||||||
hold_action:
|
hold_action:
|
||||||
action: more-info
|
action: more-info
|
||||||
styles:
|
styles:
|
||||||
card:
|
card:
|
||||||
- height: 100px
|
- height: 70px
|
||||||
- font-size: 14px
|
- font-size: 14px
|
||||||
grid:
|
grid:
|
||||||
- height: 90px
|
|
||||||
img_cell:
|
|
||||||
- height: 60px
|
- height: 60px
|
||||||
|
img_cell:
|
||||||
|
- height: 40px
|
||||||
name:
|
name:
|
||||||
- height: 30px
|
- height: 24px
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
purifier_target_humidity:
|
purifier_target_humidity:
|
||||||
card:
|
card:
|
||||||
type: custom:button-card
|
type: custom:button-card
|
||||||
template: [small, progress, with_state_indicator]
|
template: [regular, progress, with_state_indicator]
|
||||||
entity: sensor.purifier_target_humidity
|
entity: sensor.purifier_target_humidity
|
||||||
tap_action:
|
tap_action:
|
||||||
action: call-service
|
action: call-service
|
||||||
|
|||||||
@@ -22,50 +22,50 @@ cards:
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background]
|
template: [small, with_state_background]
|
||||||
entity: light.living_room
|
entity: light.living_room
|
||||||
name: Living room
|
name: Living room
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background]
|
template: [small, with_state_background]
|
||||||
entity: light.living_room_main
|
entity: light.living_room_main
|
||||||
name: Main
|
name: Main
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background]
|
template: [small, with_state_background]
|
||||||
entity: light.light_avatar_small_2
|
entity: light.light_avatar_small_2
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background]
|
template: [small, with_state_background]
|
||||||
entity: light.living_room_ambient
|
entity: light.living_room_ambient
|
||||||
name: Ambient
|
name: Ambient
|
||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background]
|
template: [small, with_state_background]
|
||||||
entity: light.master_bedroom
|
entity: light.master_bedroom
|
||||||
name: Bedroom
|
name: Bedroom
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background]
|
template: [small, with_state_background]
|
||||||
entity: light.master_bedroom_main
|
entity: light.master_bedroom_main
|
||||||
name: Main
|
name: Main
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background]
|
template: [small, with_state_background]
|
||||||
entity: light.bed_led
|
entity: light.bed_led
|
||||||
name: Bed
|
name: Bed
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background]
|
template: [small, with_state_background]
|
||||||
entity: light.bedside
|
entity: light.bedside
|
||||||
name: Bedside
|
name: Bedside
|
||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background]
|
template: [small, with_state_background]
|
||||||
entity: light.tuya_kitchen
|
entity: light.tuya_kitchen
|
||||||
name: Kitchen
|
name: Kitchen
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background]
|
template: [small, with_state_background]
|
||||||
entity: light.tuya_hallway_main
|
entity: light.tuya_hallway_main
|
||||||
name: Hallway
|
name: Hallway
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background]
|
template: [small, with_state_background]
|
||||||
entity: light.hallway_entrance
|
entity: light.hallway_entrance
|
||||||
name: Entrance
|
name: Entrance
|
||||||
|
|
||||||
@@ -82,11 +82,11 @@ cards:
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background]
|
template: [small, with_state_background]
|
||||||
entity: input_boolean.speech_notifications
|
entity: input_boolean.speech_notifications
|
||||||
name: Speech
|
name: Speech
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background]
|
template: [small, with_state_background]
|
||||||
entity: binary_sensor.house_mode
|
entity: binary_sensor.house_mode
|
||||||
tap_action:
|
tap_action:
|
||||||
action: call-service
|
action: call-service
|
||||||
@@ -94,7 +94,7 @@ cards:
|
|||||||
service_data:
|
service_data:
|
||||||
entity_id: input_select.house_mode
|
entity_id: input_select.house_mode
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background]
|
template: [small, with_state_background]
|
||||||
entity: input_boolean.guest_mode
|
entity: input_boolean.guest_mode
|
||||||
tap_action:
|
tap_action:
|
||||||
action: toggle
|
action: toggle
|
||||||
@@ -102,7 +102,7 @@ cards:
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: mobile
|
template: small
|
||||||
entity: media_player.living_room_tv
|
entity: media_player.living_room_tv
|
||||||
name: TV
|
name: TV
|
||||||
icon: mdi:television
|
icon: mdi:television
|
||||||
@@ -126,20 +126,20 @@ cards:
|
|||||||
styles: *on_styles
|
styles: *on_styles
|
||||||
|
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background, with_state_indicator]
|
template: [small, with_state_background, with_state_indicator]
|
||||||
entity: switch.titanium
|
entity: switch.titanium
|
||||||
variables:
|
variables:
|
||||||
state_indicator_id: automation.titanium_turn_off_when_idle
|
state_indicator_id: automation.titanium_turn_off_when_idle
|
||||||
|
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background]
|
template: [small, with_state_background]
|
||||||
entity: sensor.synology_type_volume_1
|
entity: sensor.synology_type_volume_1
|
||||||
name: Platinum
|
name: Platinum
|
||||||
icon: mdi:nas
|
icon: mdi:nas
|
||||||
tap_action:
|
tap_action:
|
||||||
action: more-info
|
action: more-info
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background]
|
template: [small, with_state_background]
|
||||||
entity: binary_sensor.pi_hole_enabled
|
entity: binary_sensor.pi_hole_enabled
|
||||||
name: Pi-Hole
|
name: Pi-Hole
|
||||||
icon: mdi:pi-hole
|
icon: mdi:pi-hole
|
||||||
@@ -147,27 +147,27 @@ cards:
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [ac_button, mobile]
|
template: [ac_button, small]
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [radiator_button, mobile]
|
template: [radiator_button, small]
|
||||||
entity: climate.living_room_radiator_mode
|
entity: climate.living_room_radiator_mode
|
||||||
name: "Living room"
|
name: "Living room"
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [radiator_button, mobile]
|
template: [radiator_button, small]
|
||||||
entity: climate.bedroom_radiator_mode
|
entity: climate.bedroom_radiator_mode
|
||||||
name: "Bedroom"
|
name: "Bedroom"
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [radiator_button, mobile]
|
template: [radiator_button, small]
|
||||||
entity: climate.kitchen_radiator_mode
|
entity: climate.kitchen_radiator_mode
|
||||||
name: "Kitchen"
|
name: "Kitchen"
|
||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background]
|
template: [small, with_state_background]
|
||||||
entity: switch.camera
|
entity: switch.camera
|
||||||
name: Camera
|
name: Camera
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background, with_state_indicator]
|
template: [small, with_state_background, with_state_indicator]
|
||||||
entity: fan.philips_airpurifier
|
entity: fan.philips_airpurifier
|
||||||
variables:
|
variables:
|
||||||
state_indicator_id: binary_sensor.purifier_filter_needs_change
|
state_indicator_id: binary_sensor.purifier_filter_needs_change
|
||||||
@@ -176,11 +176,11 @@ cards:
|
|||||||
state_indicator_on_color: var(--color-red)
|
state_indicator_on_color: var(--color-red)
|
||||||
state_on_indicator_on_color: var(--color-red)
|
state_on_indicator_on_color: var(--color-red)
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background]
|
template: [small, with_state_background]
|
||||||
entity: vacuum.vacuum
|
entity: vacuum.vacuum
|
||||||
name: Vacuum
|
name: Vacuum
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [brita_water, mobile]
|
template: [brita_water, small]
|
||||||
|
|
||||||
|
|
||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
|
|||||||
@@ -22,50 +22,50 @@ cards:
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background]
|
template: [small, with_state_background]
|
||||||
entity: light.living_room
|
entity: light.living_room
|
||||||
name: Living room
|
name: Living room
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background]
|
template: [small, with_state_background]
|
||||||
entity: light.living_room_main
|
entity: light.living_room_main
|
||||||
name: Main
|
name: Main
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background]
|
template: [small, with_state_background]
|
||||||
entity: light.light_avatar_small_2
|
entity: light.light_avatar_small_2
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background]
|
template: [small, with_state_background]
|
||||||
entity: light.living_room_ambient
|
entity: light.living_room_ambient
|
||||||
name: Ambient
|
name: Ambient
|
||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background]
|
template: [small, with_state_background]
|
||||||
entity: light.master_bedroom
|
entity: light.master_bedroom
|
||||||
name: Bedroom
|
name: Bedroom
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background]
|
template: [small, with_state_background]
|
||||||
entity: light.master_bedroom_main
|
entity: light.master_bedroom_main
|
||||||
name: Main
|
name: Main
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background]
|
template: [small, with_state_background]
|
||||||
entity: light.bed_led
|
entity: light.bed_led
|
||||||
name: Bed
|
name: Bed
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background]
|
template: [small, with_state_background]
|
||||||
entity: light.bedside
|
entity: light.bedside
|
||||||
name: Bedside
|
name: Bedside
|
||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background]
|
template: [small, with_state_background]
|
||||||
entity: light.tuya_kitchen
|
entity: light.tuya_kitchen
|
||||||
name: Kitchen
|
name: Kitchen
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background]
|
template: [small, with_state_background]
|
||||||
entity: light.tuya_hallway_main
|
entity: light.tuya_hallway_main
|
||||||
name: Hallway
|
name: Hallway
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background]
|
template: [small, with_state_background]
|
||||||
entity: light.hallway_entrance
|
entity: light.hallway_entrance
|
||||||
name: Entrance
|
name: Entrance
|
||||||
|
|
||||||
@@ -84,7 +84,7 @@ cards:
|
|||||||
square: false
|
square: false
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background]
|
template: [small, with_state_background]
|
||||||
entity: binary_sensor.georgi_home
|
entity: binary_sensor.georgi_home
|
||||||
name: Georgi home?
|
name: Georgi home?
|
||||||
tap_action:
|
tap_action:
|
||||||
@@ -93,16 +93,16 @@ cards:
|
|||||||
service_data:
|
service_data:
|
||||||
entity_id: input_boolean.georgi_home
|
entity_id: input_boolean.georgi_home
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background]
|
template: [small, with_state_background]
|
||||||
entity: input_boolean.speech_notifications
|
entity: input_boolean.speech_notifications
|
||||||
name: Speech
|
name: Speech
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background]
|
template: [small, with_state_background]
|
||||||
entity: input_boolean.guest_mode
|
entity: input_boolean.guest_mode
|
||||||
tap_action:
|
tap_action:
|
||||||
action: toggle
|
action: toggle
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: mobile
|
template: small
|
||||||
entity: media_player.living_room_tv
|
entity: media_player.living_room_tv
|
||||||
name: TV
|
name: TV
|
||||||
icon: mdi:television
|
icon: mdi:television
|
||||||
@@ -125,30 +125,30 @@ cards:
|
|||||||
- value: 'idle'
|
- value: 'idle'
|
||||||
styles: *on_styles
|
styles: *on_styles
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background, with_state_indicator]
|
template: [small, with_state_background, with_state_indicator]
|
||||||
entity: switch.titanium
|
entity: switch.titanium
|
||||||
variables:
|
variables:
|
||||||
state_indicator_id: automation.titanium_turn_off_when_idle
|
state_indicator_id: automation.titanium_turn_off_when_idle
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [ac_button, mobile]
|
template: [ac_button, small]
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [radiator_button, mobile]
|
template: [radiator_button, small]
|
||||||
entity: climate.living_room_radiator_mode
|
entity: climate.living_room_radiator_mode
|
||||||
name: "Living room"
|
name: "Living room"
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [radiator_button, mobile]
|
template: [radiator_button, small]
|
||||||
entity: climate.bedroom_radiator_mode
|
entity: climate.bedroom_radiator_mode
|
||||||
name: "Bedroom"
|
name: "Bedroom"
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [radiator_button, mobile]
|
template: [radiator_button, small]
|
||||||
entity: climate.kitchen_radiator_mode
|
entity: climate.kitchen_radiator_mode
|
||||||
name: "Kitchen"
|
name: "Kitchen"
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background]
|
template: [small, with_state_background]
|
||||||
entity: switch.camera
|
entity: switch.camera
|
||||||
name: Camera
|
name: Camera
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_indicator]
|
template: [small, with_state_indicator]
|
||||||
entity: fan.philips_airpurifier
|
entity: fan.philips_airpurifier
|
||||||
variables:
|
variables:
|
||||||
state_indicator_id: binary_sensor.purifier_filter_needs_change
|
state_indicator_id: binary_sensor.purifier_filter_needs_change
|
||||||
@@ -157,7 +157,7 @@ cards:
|
|||||||
state_indicator_on_color: var(--color-red)
|
state_indicator_on_color: var(--color-red)
|
||||||
state_on_indicator_on_color: var(--color-red)
|
state_on_indicator_on_color: var(--color-red)
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background]
|
template: [small, with_state_background]
|
||||||
entity: vacuum.vacuum
|
entity: vacuum.vacuum
|
||||||
name: Va
|
name: Va
|
||||||
|
|
||||||
|
|||||||
@@ -18,26 +18,26 @@ cards:
|
|||||||
columns: 4
|
columns: 4
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background]
|
template: [small, with_state_background]
|
||||||
entity: binary_sensor.living_room_right_window
|
entity: binary_sensor.living_room_right_window
|
||||||
name: Living room
|
name: Living room
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background]
|
template: [small, with_state_background]
|
||||||
entity: binary_sensor.bedroom_left_window
|
entity: binary_sensor.bedroom_left_window
|
||||||
name: Bedroom left
|
name: Bedroom left
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background]
|
template: [small, with_state_background]
|
||||||
entity: binary_sensor.bedroom_right_window
|
entity: binary_sensor.bedroom_right_window
|
||||||
name: Bedroom right
|
name: Bedroom right
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background]
|
template: [small, with_state_background]
|
||||||
entity: binary_sensor.kitchen_window
|
entity: binary_sensor.kitchen_window
|
||||||
name: Kitchen
|
name: Kitchen
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background]
|
template: [small, with_state_background]
|
||||||
entity: binary_sensor.front_door
|
entity: binary_sensor.front_door
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [mobile, with_state_background]
|
template: [small, with_state_background]
|
||||||
entity: binary_sensor.bedroom_door
|
entity: binary_sensor.bedroom_door
|
||||||
|
|
||||||
- type: custom:mini-graph-card
|
- type: custom:mini-graph-card
|
||||||
|
|||||||
@@ -48,7 +48,7 @@
|
|||||||
variables:
|
variables:
|
||||||
state_indicator_id: automation.lighting_hallway_motion_on
|
state_indicator_id: automation.lighting_hallway_motion_on
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [small, progress]
|
template: [regular, progress]
|
||||||
entity: sensor.hallway_motion_illuminance
|
entity: sensor.hallway_motion_illuminance
|
||||||
name: Lux
|
name: Lux
|
||||||
variables:
|
variables:
|
||||||
|
|||||||
@@ -104,7 +104,7 @@
|
|||||||
variables:
|
variables:
|
||||||
state_indicator_id: automation.lighting_kitchen_motion_on
|
state_indicator_id: automation.lighting_kitchen_motion_on
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [small, progress]
|
template: [regular, progress]
|
||||||
entity: sensor.kitchen_motion_illuminance
|
entity: sensor.kitchen_motion_illuminance
|
||||||
name: Lux
|
name: Lux
|
||||||
variables:
|
variables:
|
||||||
|
|||||||
@@ -99,7 +99,7 @@
|
|||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: ac_button
|
template: ac_button
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [small, progress]
|
template: [regular, progress]
|
||||||
entity: sensor.desk_outlet_power
|
entity: sensor.desk_outlet_power
|
||||||
name: Desk power
|
name: Desk power
|
||||||
variables:
|
variables:
|
||||||
@@ -163,6 +163,6 @@
|
|||||||
- right_name: Humidity (6)
|
- right_name: Humidity (6)
|
||||||
|
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [small, progress]
|
template: [regular, progress]
|
||||||
entity: sensor.living_room_radiator_temperature
|
entity: sensor.living_room_radiator_temperature
|
||||||
name: Radiator temperature
|
name: Radiator temperature
|
||||||
|
|||||||
@@ -88,7 +88,7 @@
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: regular
|
||||||
entity: media_player.living_room_tv
|
entity: media_player.living_room_tv
|
||||||
name: TV
|
name: TV
|
||||||
icon: mdi:television
|
icon: mdi:television
|
||||||
@@ -276,12 +276,12 @@
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [small, progress]
|
template: [regular, progress]
|
||||||
entity: sensor.average_temperature
|
entity: sensor.average_temperature
|
||||||
icon: mdi:thermometer
|
icon: mdi:thermometer
|
||||||
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
|
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [small, progress]
|
template: [regular, progress]
|
||||||
entity: sensor.average_humidity
|
entity: sensor.average_humidity
|
||||||
icon: mdi:water-percent
|
icon: mdi:water-percent
|
||||||
state_display: "[[[ return Math.round(entity.state) + ' %' ]]]"
|
state_display: "[[[ return Math.round(entity.state) + ' %' ]]]"
|
||||||
|
|||||||
@@ -336,44 +336,44 @@ sensor.average_temperature:
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [small, progress]
|
template: [regular, progress]
|
||||||
entity: sensor.multisensor_6_temperature
|
entity: sensor.multisensor_6_temperature
|
||||||
name: Living room
|
name: Living room
|
||||||
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
|
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [small, progress]
|
template: [regular, progress]
|
||||||
entity: sensor.trisensor_temperature
|
entity: sensor.trisensor_temperature
|
||||||
name: Desk
|
name: Desk
|
||||||
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
|
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [small, progress]
|
template: [regular, progress]
|
||||||
entity: sensor.living_room_radiator_temperature
|
entity: sensor.living_room_radiator_temperature
|
||||||
name: Radiator
|
name: Radiator
|
||||||
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
|
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [small, progress]
|
template: [regular, progress]
|
||||||
entity: sensor.bedroom_weather_temperature
|
entity: sensor.bedroom_weather_temperature
|
||||||
name: Bedroom
|
name: Bedroom
|
||||||
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
|
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
|
||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [small, progress]
|
template: [regular, progress]
|
||||||
entity: sensor.kitchen_weather_temperature
|
entity: sensor.kitchen_weather_temperature
|
||||||
name: Kitchen
|
name: Kitchen
|
||||||
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
|
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [small, progress]
|
template: [regular, progress]
|
||||||
entity: sensor.bathroom_weather_temperature
|
entity: sensor.bathroom_weather_temperature
|
||||||
name: Bathroom
|
name: Bathroom
|
||||||
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
|
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [small, progress]
|
template: [regular, progress]
|
||||||
entity: sensor.hallway_weather_temperature
|
entity: sensor.hallway_weather_temperature
|
||||||
name: Hallway
|
name: Hallway
|
||||||
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
|
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [small, progress]
|
template: [regular, progress]
|
||||||
entity: sensor.guest_bedroom_weather_temperature
|
entity: sensor.guest_bedroom_weather_temperature
|
||||||
name: G. Bedroom
|
name: G. Bedroom
|
||||||
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
|
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
|
||||||
@@ -397,7 +397,7 @@ sensor.average_humidity:
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [small, progress]
|
template: [regular, progress]
|
||||||
entity: sensor.multisensor_6_relative_humidity
|
entity: sensor.multisensor_6_relative_humidity
|
||||||
state_display: "[[[ return Math.round(entity.state) + ' %' ]]]"
|
state_display: "[[[ return Math.round(entity.state) + ' %' ]]]"
|
||||||
name: Living room
|
name: Living room
|
||||||
@@ -408,7 +408,7 @@ sensor.average_humidity:
|
|||||||
high_value: 65
|
high_value: 65
|
||||||
low_color: "var(--color-red)"
|
low_color: "var(--color-red)"
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [small, progress]
|
template: [regular, progress]
|
||||||
entity: sensor.bedroom_weather_humidity
|
entity: sensor.bedroom_weather_humidity
|
||||||
state_display: "[[[ return Math.round(entity.state) + ' %' ]]]"
|
state_display: "[[[ return Math.round(entity.state) + ' %' ]]]"
|
||||||
name: Bedroom
|
name: Bedroom
|
||||||
@@ -419,7 +419,7 @@ sensor.average_humidity:
|
|||||||
high_value: 65
|
high_value: 65
|
||||||
low_color: "var(--color-red)"
|
low_color: "var(--color-red)"
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [small, progress]
|
template: [regular, progress]
|
||||||
entity: sensor.kitchen_weather_humidity
|
entity: sensor.kitchen_weather_humidity
|
||||||
state_display: "[[[ return Math.round(entity.state) + ' %' ]]]"
|
state_display: "[[[ return Math.round(entity.state) + ' %' ]]]"
|
||||||
name: Kitchen
|
name: Kitchen
|
||||||
@@ -432,7 +432,7 @@ sensor.average_humidity:
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [small, progress]
|
template: [regular, progress]
|
||||||
entity: sensor.bathroom_weather_humidity
|
entity: sensor.bathroom_weather_humidity
|
||||||
state_display: "[[[ return Math.round(entity.state) + ' %' ]]]"
|
state_display: "[[[ return Math.round(entity.state) + ' %' ]]]"
|
||||||
name: Bathroom
|
name: Bathroom
|
||||||
@@ -443,7 +443,7 @@ sensor.average_humidity:
|
|||||||
high_value: 65
|
high_value: 65
|
||||||
low_color: "var(--color-red)"
|
low_color: "var(--color-red)"
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [small, progress]
|
template: [regular, progress]
|
||||||
entity: sensor.hallway_weather_humidity
|
entity: sensor.hallway_weather_humidity
|
||||||
state_display: "[[[ return Math.round(entity.state) + ' %' ]]]"
|
state_display: "[[[ return Math.round(entity.state) + ' %' ]]]"
|
||||||
name: Hallway
|
name: Hallway
|
||||||
@@ -454,7 +454,7 @@ sensor.average_humidity:
|
|||||||
high_value: 65
|
high_value: 65
|
||||||
low_color: "var(--color-red)"
|
low_color: "var(--color-red)"
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: [small, progress]
|
template: [regular, progress]
|
||||||
entity: sensor.guest_bedroom_weather_humidity
|
entity: sensor.guest_bedroom_weather_humidity
|
||||||
state_display: "[[[ return Math.round(entity.state) + ' %' ]]]"
|
state_display: "[[[ return Math.round(entity.state) + ' %' ]]]"
|
||||||
name: G. Bedroom
|
name: G. Bedroom
|
||||||
|
|||||||
Reference in New Issue
Block a user