diff --git a/config/lovelace/button_card_templates/small_button.yaml b/config/lovelace/button_card_templates/small_button.yaml index 28b5b5a..e29bd52 100644 --- a/config/lovelace/button_card_templates/small_button.yaml +++ b/config/lovelace/button_card_templates/small_button.yaml @@ -6,6 +6,10 @@ small: card: - height: 100px - font-size: 14px + grid: + - height: 90px + img_cell: + - height: 60px name: - height: 30px diff --git a/config/lovelace/home_dashboard/master_bedroom_dashboard.yaml b/config/lovelace/home_dashboard/master_bedroom_dashboard.yaml index f1bad9d..ea4b820 100644 --- a/config/lovelace/home_dashboard/master_bedroom_dashboard.yaml +++ b/config/lovelace/home_dashboard/master_bedroom_dashboard.yaml @@ -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: diff --git a/config/packages/modules/lighting/by_rooms/master_bedroom.yaml b/config/packages/modules/lighting/by_rooms/master_bedroom.yaml index c773b61..0ac4fb7 100644 --- a/config/packages/modules/lighting/by_rooms/master_bedroom.yaml +++ b/config/packages/modules/lighting/by_rooms/master_bedroom.yaml @@ -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: