Move config out of subfolder

This commit is contained in:
Georgi Gardev
2022-12-01 16:01:59 +02:00
parent addfa33f6f
commit 1ae0c6d0b8
221 changed files with 0 additions and 0 deletions
@@ -0,0 +1,24 @@
scene:
variables:
scene_color_1:
scene_color_2:
degrees: 315
tap_action:
action: call-service
service: scene.turn_on
service_data:
entity_id: "[[[ return entity.entity_id ]]]"
styles:
card:
- background: >
[[[
const color_1 = variables.scene_color_1;
const color_2 = variables.scene_color_2 || variables.scene_color_1;
const degrees = variables.degrees;
return "linear-gradient("
+ degrees + "deg, "
+ color_1 + " 7%, "
+ color_2 + " 7%, "
+ color_2 + " 11%, var(--paper-card-background-color) 11%)"
]]]