Rename button templates

This commit is contained in:
2020-12-08 10:46:05 +02:00
parent 2df7f48e76
commit 5b538146fa
16 changed files with 101 additions and 101 deletions
@@ -22,50 +22,50 @@ cards:
- type: horizontal-stack
cards:
- type: custom:button-card
template: [mobile, with_state_background]
template: [small, with_state_background]
entity: light.living_room
name: Living room
- type: custom:button-card
template: [mobile, with_state_background]
template: [small, with_state_background]
entity: light.living_room_main
name: Main
- type: custom:button-card
template: [mobile, with_state_background]
template: [small, with_state_background]
entity: light.light_avatar_small_2
- type: custom:button-card
template: [mobile, with_state_background]
template: [small, with_state_background]
entity: light.living_room_ambient
name: Ambient
- type: horizontal-stack
cards:
- type: custom:button-card
template: [mobile, with_state_background]
template: [small, with_state_background]
entity: light.master_bedroom
name: Bedroom
- type: custom:button-card
template: [mobile, with_state_background]
template: [small, with_state_background]
entity: light.master_bedroom_main
name: Main
- type: custom:button-card
template: [mobile, with_state_background]
template: [small, with_state_background]
entity: light.bed_led
name: Bed
- type: custom:button-card
template: [mobile, with_state_background]
template: [small, with_state_background]
entity: light.bedside
name: Bedside
- type: horizontal-stack
cards:
- type: custom:button-card
template: [mobile, with_state_background]
template: [small, with_state_background]
entity: light.tuya_kitchen
name: Kitchen
- type: custom:button-card
template: [mobile, with_state_background]
template: [small, with_state_background]
entity: light.tuya_hallway_main
name: Hallway
- type: custom:button-card
template: [mobile, with_state_background]
template: [small, with_state_background]
entity: light.hallway_entrance
name: Entrance
@@ -82,11 +82,11 @@ cards:
- type: horizontal-stack
cards:
- type: custom:button-card
template: [mobile, with_state_background]
template: [small, with_state_background]
entity: input_boolean.speech_notifications
name: Speech
- type: custom:button-card
template: [mobile, with_state_background]
template: [small, with_state_background]
entity: binary_sensor.house_mode
tap_action:
action: call-service
@@ -94,7 +94,7 @@ cards:
service_data:
entity_id: input_select.house_mode
- type: custom:button-card
template: [mobile, with_state_background]
template: [small, with_state_background]
entity: input_boolean.guest_mode
tap_action:
action: toggle
@@ -102,7 +102,7 @@ cards:
- type: horizontal-stack
cards:
- type: custom:button-card
template: mobile
template: small
entity: media_player.living_room_tv
name: TV
icon: mdi:television
@@ -126,20 +126,20 @@ cards:
styles: *on_styles
- type: custom:button-card
template: [mobile, with_state_background, with_state_indicator]
template: [small, with_state_background, with_state_indicator]
entity: switch.titanium
variables:
state_indicator_id: automation.titanium_turn_off_when_idle
- type: custom:button-card
template: [mobile, with_state_background]
template: [small, with_state_background]
entity: sensor.synology_type_volume_1
name: Platinum
icon: mdi:nas
tap_action:
action: more-info
- type: custom:button-card
template: [mobile, with_state_background]
template: [small, with_state_background]
entity: binary_sensor.pi_hole_enabled
name: Pi-Hole
icon: mdi:pi-hole
@@ -147,27 +147,27 @@ cards:
- type: horizontal-stack
cards:
- type: custom:button-card
template: [ac_button, mobile]
template: [ac_button, small]
- type: custom:button-card
template: [radiator_button, mobile]
template: [radiator_button, small]
entity: climate.living_room_radiator_mode
name: "Living room"
- type: custom:button-card
template: [radiator_button, mobile]
template: [radiator_button, small]
entity: climate.bedroom_radiator_mode
name: "Bedroom"
- type: custom:button-card
template: [radiator_button, mobile]
template: [radiator_button, small]
entity: climate.kitchen_radiator_mode
name: "Kitchen"
- type: horizontal-stack
cards:
- type: custom:button-card
template: [mobile, with_state_background]
template: [small, with_state_background]
entity: switch.camera
name: Camera
- type: custom:button-card
template: [mobile, with_state_background, with_state_indicator]
template: [small, with_state_background, with_state_indicator]
entity: fan.philips_airpurifier
variables:
state_indicator_id: binary_sensor.purifier_filter_needs_change
@@ -176,11 +176,11 @@ cards:
state_indicator_on_color: var(--color-red)
state_on_indicator_on_color: var(--color-red)
- type: custom:button-card
template: [mobile, with_state_background]
template: [small, with_state_background]
entity: vacuum.vacuum
name: Vacuum
- type: custom:button-card
template: [brita_water, mobile]
template: [brita_water, small]
- type: horizontal-stack
@@ -22,50 +22,50 @@ cards:
- type: horizontal-stack
cards:
- type: custom:button-card
template: [mobile, with_state_background]
template: [small, with_state_background]
entity: light.living_room
name: Living room
- type: custom:button-card
template: [mobile, with_state_background]
template: [small, with_state_background]
entity: light.living_room_main
name: Main
- type: custom:button-card
template: [mobile, with_state_background]
template: [small, with_state_background]
entity: light.light_avatar_small_2
- type: custom:button-card
template: [mobile, with_state_background]
template: [small, with_state_background]
entity: light.living_room_ambient
name: Ambient
- type: horizontal-stack
cards:
- type: custom:button-card
template: [mobile, with_state_background]
template: [small, with_state_background]
entity: light.master_bedroom
name: Bedroom
- type: custom:button-card
template: [mobile, with_state_background]
template: [small, with_state_background]
entity: light.master_bedroom_main
name: Main
- type: custom:button-card
template: [mobile, with_state_background]
template: [small, with_state_background]
entity: light.bed_led
name: Bed
- type: custom:button-card
template: [mobile, with_state_background]
template: [small, with_state_background]
entity: light.bedside
name: Bedside
- type: horizontal-stack
cards:
- type: custom:button-card
template: [mobile, with_state_background]
template: [small, with_state_background]
entity: light.tuya_kitchen
name: Kitchen
- type: custom:button-card
template: [mobile, with_state_background]
template: [small, with_state_background]
entity: light.tuya_hallway_main
name: Hallway
- type: custom:button-card
template: [mobile, with_state_background]
template: [small, with_state_background]
entity: light.hallway_entrance
name: Entrance
@@ -84,7 +84,7 @@ cards:
square: false
cards:
- type: custom:button-card
template: [mobile, with_state_background]
template: [small, with_state_background]
entity: binary_sensor.georgi_home
name: Georgi home?
tap_action:
@@ -93,16 +93,16 @@ cards:
service_data:
entity_id: input_boolean.georgi_home
- type: custom:button-card
template: [mobile, with_state_background]
template: [small, with_state_background]
entity: input_boolean.speech_notifications
name: Speech
- type: custom:button-card
template: [mobile, with_state_background]
template: [small, with_state_background]
entity: input_boolean.guest_mode
tap_action:
action: toggle
- type: custom:button-card
template: mobile
template: small
entity: media_player.living_room_tv
name: TV
icon: mdi:television
@@ -125,30 +125,30 @@ cards:
- value: 'idle'
styles: *on_styles
- type: custom:button-card
template: [mobile, with_state_background, with_state_indicator]
template: [small, with_state_background, with_state_indicator]
entity: switch.titanium
variables:
state_indicator_id: automation.titanium_turn_off_when_idle
- type: custom:button-card
template: [ac_button, mobile]
template: [ac_button, small]
- type: custom:button-card
template: [radiator_button, mobile]
template: [radiator_button, small]
entity: climate.living_room_radiator_mode
name: "Living room"
- type: custom:button-card
template: [radiator_button, mobile]
template: [radiator_button, small]
entity: climate.bedroom_radiator_mode
name: "Bedroom"
- type: custom:button-card
template: [radiator_button, mobile]
template: [radiator_button, small]
entity: climate.kitchen_radiator_mode
name: "Kitchen"
- type: custom:button-card
template: [mobile, with_state_background]
template: [small, with_state_background]
entity: switch.camera
name: Camera
- type: custom:button-card
template: [mobile, with_state_indicator]
template: [small, with_state_indicator]
entity: fan.philips_airpurifier
variables:
state_indicator_id: binary_sensor.purifier_filter_needs_change
@@ -157,7 +157,7 @@ cards:
state_indicator_on_color: var(--color-red)
state_on_indicator_on_color: var(--color-red)
- type: custom:button-card
template: [mobile, with_state_background]
template: [small, with_state_background]
entity: vacuum.vacuum
name: Va
@@ -18,26 +18,26 @@ cards:
columns: 4
cards:
- type: custom:button-card
template: [mobile, with_state_background]
template: [small, with_state_background]
entity: binary_sensor.living_room_right_window
name: Living room
- type: custom:button-card
template: [mobile, with_state_background]
template: [small, with_state_background]
entity: binary_sensor.bedroom_left_window
name: Bedroom left
- type: custom:button-card
template: [mobile, with_state_background]
template: [small, with_state_background]
entity: binary_sensor.bedroom_right_window
name: Bedroom right
- type: custom:button-card
template: [mobile, with_state_background]
template: [small, with_state_background]
entity: binary_sensor.kitchen_window
name: Kitchen
- type: custom:button-card
template: [mobile, with_state_background]
template: [small, with_state_background]
entity: binary_sensor.front_door
- type: custom:button-card
template: [mobile, with_state_background]
template: [small, with_state_background]
entity: binary_sensor.bedroom_door
- type: custom:mini-graph-card