mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-05 08:44:24 +00:00
Refactor xs button
This commit is contained in:
@@ -8,18 +8,4 @@ xs:
|
||||
- font-size: 12px
|
||||
name:
|
||||
- height: 24px
|
||||
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
|
||||
|
||||
|
||||
@@ -127,7 +127,9 @@
|
||||
tap_action:
|
||||
action: toggle
|
||||
- type: custom:button-card
|
||||
template: xs
|
||||
template:
|
||||
- xs
|
||||
- with_state
|
||||
entity: script.sonos_join_tv
|
||||
icon: mdi:speaker-multiple
|
||||
name: TV
|
||||
@@ -137,21 +139,31 @@
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
template: xs
|
||||
template:
|
||||
- xs
|
||||
- with_state
|
||||
entity: binary_sensor.browser_kitchen
|
||||
name: Motion
|
||||
- type: custom:button-card
|
||||
template: xs
|
||||
template:
|
||||
- xs
|
||||
- with_state
|
||||
entity: binary_sensor.motion_1_ias_zone
|
||||
name: Motion 2
|
||||
- type: custom:button-card
|
||||
template: xs
|
||||
template:
|
||||
- xs
|
||||
- with_state
|
||||
entity: binary_sensor.motion_2_ias_zone
|
||||
name: Hallway
|
||||
- type: custom:button-card
|
||||
template: xs
|
||||
template:
|
||||
- xs
|
||||
- with_state
|
||||
entity: media_player.nvidia_shield
|
||||
name: Shield
|
||||
- type: custom:button-card
|
||||
template: xs
|
||||
template:
|
||||
- xs
|
||||
- with_state
|
||||
entity: switch.titanium_power
|
||||
|
||||
Reference in New Issue
Block a user