Extract scene button template

This commit is contained in:
2020-05-03 03:16:03 +03:00
parent 78345828ae
commit 1a80a6223f
2 changed files with 32 additions and 12 deletions
@@ -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