mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-07 01:14:42 +00:00
Add bedroom scenes
This commit is contained in:
@@ -6,6 +6,10 @@ small:
|
||||
card:
|
||||
- height: 100px
|
||||
- font-size: 14px
|
||||
grid:
|
||||
- height: 90px
|
||||
img_cell:
|
||||
- height: 60px
|
||||
name:
|
||||
- height: 30px
|
||||
|
||||
|
||||
@@ -80,6 +80,28 @@
|
||||
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- type: horizontal-stack
|
||||
title: Scenes
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
template: default
|
||||
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%)"
|
||||
- type: custom:button-card
|
||||
template: default
|
||||
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%)"
|
||||
|
||||
- type: horizontal-stack
|
||||
title: Sensors
|
||||
cards:
|
||||
|
||||
@@ -1,3 +1,47 @@
|
||||
script:
|
||||
scene_bedroom_neon:
|
||||
icon: "mdi:weather-night"
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
entity_id: light.master_bedroom_main_lights
|
||||
data:
|
||||
rgb_color: [255, 0, 190]
|
||||
brightness_pct: 40
|
||||
- service: light.turn_on
|
||||
entity_id: light.bedside_light
|
||||
data:
|
||||
xy_color: [0.384, 0.159]
|
||||
brightness_pct: 1
|
||||
- service: light.turn_on
|
||||
entity_id: light.bed_led
|
||||
data:
|
||||
rgb_color: [0, 255, 190]
|
||||
brightness_pct: 100
|
||||
- service: light.turn_on
|
||||
entity_id: light.bed_led
|
||||
data:
|
||||
rgb_color: [0, 255, 190]
|
||||
- delay: 00:00:05
|
||||
- service: light.turn_on
|
||||
entity_id: light.bed_led
|
||||
|
||||
|
||||
scene_bedroom_regular:
|
||||
icon: "mdi:weather-sunny"
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
entity_id:
|
||||
- light.master_bedroom_main_lights
|
||||
- light.bed_led
|
||||
data:
|
||||
color_temp: 500
|
||||
brightness_pct: 100
|
||||
- service: light.turn_on
|
||||
entity_id: light.bedside_light
|
||||
data:
|
||||
color_temp: 500
|
||||
brightness_pct: 20
|
||||
|
||||
automation:
|
||||
- alias: Lighting · Master bedroom · Toggle lights on bedside switch single click
|
||||
trigger:
|
||||
|
||||
Reference in New Issue
Block a user