mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-09-06 18:08:45 +00:00
Add temperature button. Major button refactoring
This commit is contained in:
@@ -28,15 +28,15 @@ cards:
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: light.tuya_kitchen_all_lights
|
entity: light.tuya_kitchen_all_lights
|
||||||
name: All lights
|
name: All lights
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: light.tuya_kitchen_main_lights
|
entity: light.tuya_kitchen_main_lights
|
||||||
name: Main
|
name: Main
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: light.tuya_kitchen_secondary_lights
|
entity: light.tuya_kitchen_secondary_lights
|
||||||
name: Secondary
|
name: Secondary
|
||||||
- type: entities
|
- type: entities
|
||||||
|
|||||||
@@ -27,15 +27,15 @@ cards:
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: light.hallway_all_lights
|
entity: light.hallway_all_lights
|
||||||
name: All lights
|
name: All lights
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: light.hallway_entrance_lights
|
entity: light.hallway_entrance_lights
|
||||||
name: Entrance
|
name: Entrance
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: light.tuya_hallway_main_lights
|
entity: light.tuya_hallway_main_lights
|
||||||
name: Main
|
name: Main
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
default:
|
||||||
|
template:
|
||||||
|
- small
|
||||||
|
- with_state
|
||||||
@@ -8,18 +8,4 @@ small:
|
|||||||
- font-size: 14px
|
- font-size: 14px
|
||||||
name:
|
name:
|
||||||
- height: 30px
|
- height: 30px
|
||||||
state:
|
|
||||||
- value: 'on'
|
|
||||||
styles:
|
|
||||||
card:
|
|
||||||
- background-color: var(--primary-color)
|
|
||||||
- color: black
|
|
||||||
icon:
|
|
||||||
- color: black
|
|
||||||
- value: 'home'
|
|
||||||
styles:
|
|
||||||
card:
|
|
||||||
- background-color: var(--primary-color)
|
|
||||||
- color: black
|
|
||||||
icon:
|
|
||||||
- color: black
|
|
||||||
|
|||||||
@@ -0,0 +1,47 @@
|
|||||||
|
temperature:
|
||||||
|
variables:
|
||||||
|
min_value: 5
|
||||||
|
max_value: 45
|
||||||
|
normal: 19
|
||||||
|
hot: 23
|
||||||
|
color_cold: "var(--primary-color)"
|
||||||
|
color_normal: "var(--color-green)"
|
||||||
|
color_hot: "var(--color-red)"
|
||||||
|
show_state: true
|
||||||
|
show_name: true
|
||||||
|
# state_display: '[[[ return entity.state.toString().split(".")[0] ]]]'
|
||||||
|
styles:
|
||||||
|
name:
|
||||||
|
- position: absolute
|
||||||
|
- width: 100%
|
||||||
|
- text-align: center
|
||||||
|
- top: 64%
|
||||||
|
- font-size: 1em
|
||||||
|
state:
|
||||||
|
- position: absolute
|
||||||
|
- top: 15%
|
||||||
|
- width: 100%
|
||||||
|
- display: flex
|
||||||
|
- align-items: center
|
||||||
|
- justify-content: center
|
||||||
|
- font-size: 2em
|
||||||
|
icon:
|
||||||
|
- position: absolute
|
||||||
|
top: 0
|
||||||
|
right: 0
|
||||||
|
height: 16px
|
||||||
|
card:
|
||||||
|
- background: >
|
||||||
|
[[[
|
||||||
|
var temp = entity.state;
|
||||||
|
|
||||||
|
var color = temp < variables.normal
|
||||||
|
? variables.color_cold
|
||||||
|
: temp < variables.hot
|
||||||
|
? variables.color_normal
|
||||||
|
: variables.color_hot;
|
||||||
|
var percent = (temp - variables.min_value)/(variables.max_value - variables.min_value) * 100;
|
||||||
|
var gradient = 100 - percent;
|
||||||
|
|
||||||
|
return 'linear-gradient(180deg, var(--paper-card-background-color) 0%, var(--paper-card-background-color)' + gradient + '%, ' + color + ' ' + gradient + '%)'
|
||||||
|
]]]
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
with_state:
|
||||||
|
state:
|
||||||
|
- value: 'on'
|
||||||
|
styles:
|
||||||
|
card:
|
||||||
|
- background-color: var(--primary-color)
|
||||||
|
- color: black
|
||||||
|
icon:
|
||||||
|
- color: black
|
||||||
|
- value: 'home'
|
||||||
|
styles:
|
||||||
|
card:
|
||||||
|
- background-color: var(--primary-color)
|
||||||
|
- color: black
|
||||||
|
icon:
|
||||||
|
- color: black
|
||||||
@@ -61,21 +61,21 @@ titanium_card:
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: script.titanium_lock
|
entity: script.titanium_lock
|
||||||
name: Lock
|
name: Lock
|
||||||
icon: mdi:lock
|
icon: mdi:lock
|
||||||
tap_action:
|
tap_action:
|
||||||
action: toggle
|
action: toggle
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: script.titanium_vol_mute
|
entity: script.titanium_vol_mute
|
||||||
name: Mute
|
name: Mute
|
||||||
icon: mdi:volume-mute
|
icon: mdi:volume-mute
|
||||||
tap_action:
|
tap_action:
|
||||||
action: toggle
|
action: toggle
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: script.titanium_set_volume
|
entity: script.titanium_set_volume
|
||||||
name: Set volume
|
name: Set volume
|
||||||
icon: mdi:volume-medium
|
icon: mdi:volume-medium
|
||||||
@@ -85,21 +85,21 @@ titanium_card:
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: script.titanium_displays_on
|
entity: script.titanium_displays_on
|
||||||
name: Displays on
|
name: Displays on
|
||||||
icon: mdi:monitor-dashboard
|
icon: mdi:monitor-dashboard
|
||||||
tap_action:
|
tap_action:
|
||||||
action: toggle
|
action: toggle
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: script.titanium_displays_off
|
entity: script.titanium_displays_off
|
||||||
name: Displays off
|
name: Displays off
|
||||||
icon: mdi:monitor-off
|
icon: mdi:monitor-off
|
||||||
tap_action:
|
tap_action:
|
||||||
action: toggle
|
action: toggle
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: script.titanium_refresh
|
entity: script.titanium_refresh
|
||||||
name: Refresh
|
name: Refresh
|
||||||
icon: mdi:refresh
|
icon: mdi:refresh
|
||||||
|
|||||||
@@ -20,15 +20,15 @@
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: light.tuya_kitchen_all_lights
|
entity: light.tuya_kitchen_all_lights
|
||||||
name: Kitchen
|
name: Kitchen
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: light.tuya_kitchen_main_lights
|
entity: light.tuya_kitchen_main_lights
|
||||||
name: Main
|
name: Main
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: light.tuya_kitchen_secondary_lights
|
entity: light.tuya_kitchen_secondary_lights
|
||||||
name: Secondary
|
name: Secondary
|
||||||
- type: vertical-stack
|
- type: vertical-stack
|
||||||
@@ -49,7 +49,7 @@
|
|||||||
title: Brita
|
title: Brita
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
name: Pour water
|
name: Pour water
|
||||||
entity: script.brita_pour_water
|
entity: script.brita_pour_water
|
||||||
custom_fields:
|
custom_fields:
|
||||||
@@ -74,13 +74,13 @@
|
|||||||
- right: 5px
|
- right: 5px
|
||||||
- font-size: 12px
|
- font-size: 12px
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
name: New filter
|
name: New filter
|
||||||
entity: script.brita_new_filter
|
entity: script.brita_new_filter
|
||||||
tap_action:
|
tap_action:
|
||||||
action: toggle
|
action: toggle
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
name: Filter
|
name: Filter
|
||||||
entity: binary_sensor.brita_should_change_filter
|
entity: binary_sensor.brita_should_change_filter
|
||||||
|
|
||||||
|
|||||||
@@ -23,42 +23,42 @@
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: light.ceiling_lights
|
entity: light.ceiling_lights
|
||||||
name: Ceiling
|
name: Ceiling
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: light.living_room_main_lights
|
entity: light.living_room_main_lights
|
||||||
name: Living room
|
name: Living room
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: light.pc
|
entity: light.pc
|
||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: light.master_bedroom_main_lights
|
entity: light.master_bedroom_main_lights
|
||||||
name: "M. Bedroom"
|
name: "M. Bedroom"
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: light.bed_led
|
entity: light.bed_led
|
||||||
name: Bed
|
name: Bed
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: light.bedside_light
|
entity: light.bedside_light
|
||||||
name: Bedside
|
name: Bedside
|
||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: light.tuya_kitchen_all_lights
|
entity: light.tuya_kitchen_all_lights
|
||||||
name: Kitchen
|
name: Kitchen
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: light.tuya_hallway_main_lights
|
entity: light.tuya_hallway_main_lights
|
||||||
name: Hallway
|
name: Hallway
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: light.hallway_entrance_lights
|
entity: light.hallway_entrance_lights
|
||||||
name: Entrance
|
name: Entrance
|
||||||
|
|
||||||
@@ -68,7 +68,7 @@
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: media_player.nvidia_shield
|
entity: media_player.nvidia_shield
|
||||||
tap_action:
|
tap_action:
|
||||||
action: call-service
|
action: call-service
|
||||||
@@ -92,30 +92,30 @@
|
|||||||
- color: black
|
- color: black
|
||||||
|
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: media_player.living_room_tv
|
entity: media_player.living_room_tv
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: switch.titanium_power
|
entity: switch.titanium_power
|
||||||
|
|
||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: switch.camera
|
entity: switch.camera
|
||||||
name: Camera
|
name: Camera
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: fan.philips_airpurifier
|
entity: fan.philips_airpurifier
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: sensor.synology_dsm_type_volume_1
|
entity: sensor.synology_dsm_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: small
|
template: default
|
||||||
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
|
||||||
@@ -124,7 +124,7 @@
|
|||||||
title: Brita
|
title: Brita
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
name: Pour water
|
name: Pour water
|
||||||
entity: script.brita_pour_water
|
entity: script.brita_pour_water
|
||||||
custom_fields:
|
custom_fields:
|
||||||
@@ -149,13 +149,13 @@
|
|||||||
- right: 5px
|
- right: 5px
|
||||||
- font-size: 12px
|
- font-size: 12px
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
name: New filter
|
name: New filter
|
||||||
entity: script.brita_new_filter
|
entity: script.brita_new_filter
|
||||||
tap_action:
|
tap_action:
|
||||||
action: toggle
|
action: toggle
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
name: Filter
|
name: Filter
|
||||||
entity: binary_sensor.brita_should_change_filter
|
entity: binary_sensor.brita_should_change_filter
|
||||||
|
|
||||||
@@ -168,14 +168,14 @@
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: input_boolean.speech_notifications
|
entity: input_boolean.speech_notifications
|
||||||
name: Speech
|
name: Speech
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: binary_sensor.house_mode
|
entity: binary_sensor.house_mode
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: input_boolean.guest_mode
|
entity: input_boolean.guest_mode
|
||||||
tap_action:
|
tap_action:
|
||||||
action: call-service
|
action: call-service
|
||||||
@@ -183,7 +183,7 @@
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: input_boolean.alarm_enabled
|
entity: input_boolean.alarm_enabled
|
||||||
name: Alarm
|
name: Alarm
|
||||||
styles:
|
styles:
|
||||||
@@ -200,47 +200,37 @@
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: binary_sensor.front_door_on_off_wrapper
|
entity: binary_sensor.front_door_on_off_wrapper
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template:
|
||||||
entity: binary_sensor.living_room_right_window_on_off_wrapper
|
- small
|
||||||
name: Living room
|
- temperature
|
||||||
|
name: M. Bedroom
|
||||||
|
entity: sensor.bedroom_weather_temperature
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: binary_sensor.bedroom_right_window_on_off_wrapper
|
entity: binary_sensor.bedroom_right_window_on_off_wrapper
|
||||||
name: M. Bedroom
|
name: M. Bedroom
|
||||||
|
|
||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: binary_sensor.browser_kitchen
|
|
||||||
name: Kitchen motion
|
|
||||||
- type: custom:button-card
|
|
||||||
template: small
|
|
||||||
entity: binary_sensor.motion_1_ias_zone
|
|
||||||
name: Kitchen motion 2
|
|
||||||
- type: custom:button-card
|
|
||||||
template: small
|
|
||||||
entity: binary_sensor.motion_2_ias_zone
|
entity: binary_sensor.motion_2_ias_zone
|
||||||
name: Hallway motion
|
name: Hallway
|
||||||
|
- type: custom:button-card
|
||||||
- type: vertical-stack
|
template: default
|
||||||
title: Temperature
|
entity: binary_sensor.browser_kitchen
|
||||||
cards:
|
name: Kitchen
|
||||||
- type: "custom:mini-graph-card"
|
- type: custom:button-card
|
||||||
name: M. Bedroom
|
template: default
|
||||||
font_size: 75
|
entity: binary_sensor.motion_1_ias_zone
|
||||||
line_color: var(--color-blue)
|
name: Kitchen 2
|
||||||
line_width: 4
|
- type: custom:button-card
|
||||||
height: 40
|
template: default
|
||||||
show:
|
entity: binary_sensor.living_room_right_window_on_off_wrapper
|
||||||
fill: fade
|
name: Living room
|
||||||
labels: hover
|
|
||||||
legend: false
|
|
||||||
entities:
|
|
||||||
- sensor.bedroom_weather_temperature
|
|
||||||
|
|
||||||
- type: vertical-stack
|
- type: vertical-stack
|
||||||
title: Presence
|
title: Presence
|
||||||
@@ -248,7 +238,7 @@
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: binary_sensor.georgi_home
|
entity: binary_sensor.georgi_home
|
||||||
tap_action:
|
tap_action:
|
||||||
action: call-service
|
action: call-service
|
||||||
@@ -256,11 +246,11 @@
|
|||||||
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: small
|
template: default
|
||||||
entity: device_tracker.mikrotik_carbon
|
entity: device_tracker.mikrotik_carbon
|
||||||
name: Wifi
|
name: Wifi
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: device_tracker.carbon
|
entity: device_tracker.carbon
|
||||||
name: GPS
|
name: GPS
|
||||||
|
|
||||||
@@ -274,21 +264,21 @@
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: sensor.philip_defranco
|
entity: sensor.philip_defranco
|
||||||
name: Latest PDS
|
name: Latest PDS
|
||||||
tap_action:
|
tap_action:
|
||||||
action: call-service
|
action: call-service
|
||||||
service: script.youtube_play_latest_pds
|
service: script.youtube_play_latest_pds
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: script.music_play
|
entity: script.music_play
|
||||||
name: Chill
|
name: Chill
|
||||||
icon: mdi:music
|
icon: mdi:music
|
||||||
tap_action:
|
tap_action:
|
||||||
action: toggle
|
action: toggle
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: script.music_play
|
entity: script.music_play
|
||||||
name: Retro
|
name: Retro
|
||||||
icon: mdi:music
|
icon: mdi:music
|
||||||
@@ -298,7 +288,7 @@
|
|||||||
service_data:
|
service_data:
|
||||||
playlist: "Retro"
|
playlist: "Retro"
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: script.tv_fireplace
|
entity: script.tv_fireplace
|
||||||
name: Fireplace
|
name: Fireplace
|
||||||
tap_action:
|
tap_action:
|
||||||
@@ -307,14 +297,14 @@
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: script.sonos_join_bedroom
|
entity: script.sonos_join_bedroom
|
||||||
name: Sonos from Bedroom
|
name: Sonos from Bedroom
|
||||||
icon: mdi:speaker-multiple
|
icon: mdi:speaker-multiple
|
||||||
tap_action:
|
tap_action:
|
||||||
action: toggle
|
action: toggle
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: small
|
template: default
|
||||||
entity: script.sonos_join_tv
|
entity: script.sonos_join_tv
|
||||||
icon: mdi:speaker-multiple
|
icon: mdi:speaker-multiple
|
||||||
name: Sonos from TV
|
name: Sonos from TV
|
||||||
|
|||||||
Reference in New Issue
Block a user