mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-09-06 18:08:45 +00:00
Extract scene button template
This commit is contained in:
@@ -87,23 +87,22 @@
|
||||
title: Scenes
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
template: default
|
||||
template:
|
||||
- default
|
||||
- scene
|
||||
entity: script.scene_bedroom_neon
|
||||
name: Neon
|
||||
tap_action:
|
||||
action: toggle
|
||||
styles:
|
||||
card:
|
||||
- background: "linear-gradient(315deg, rgb(255, 0, 190) 7%, rgb(0, 255, 190) 7%, rgb(0, 255, 190) 11%, var(--paper-card-background-color) 11%)"
|
||||
variables:
|
||||
scene_color_1: rgb(255, 0, 190)
|
||||
scene_color_2: rgb(0, 255, 190)
|
||||
- type: custom:button-card
|
||||
template: default
|
||||
template:
|
||||
- default
|
||||
- scene
|
||||
entity: script.scene_bedroom_regular
|
||||
name: Regular
|
||||
tap_action:
|
||||
action: toggle
|
||||
styles:
|
||||
card:
|
||||
- background: "linear-gradient(315deg, rgb(254, 255, 209) 11%, var(--paper-card-background-color) 11%)"
|
||||
variables:
|
||||
scene_color_1: rgb(254, 255, 209)
|
||||
|
||||
- type: horizontal-stack
|
||||
title: Sensors
|
||||
|
||||
Reference in New Issue
Block a user