mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-13 19:54:42 +00:00
Add bathroom and hallway dashboards
This commit is contained in:
@@ -0,0 +1,73 @@
|
||||
- type: custom:mod-card
|
||||
style:
|
||||
layout-card:
|
||||
$:
|
||||
.: |
|
||||
#columns {
|
||||
padding: 0 10px;
|
||||
}
|
||||
#columns .column {
|
||||
padding: 10px 10px;
|
||||
}
|
||||
card:
|
||||
type: custom:layout-card
|
||||
layout: horizontal
|
||||
max_columns: 1
|
||||
cards:
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- type: vertical-stack
|
||||
title: Media
|
||||
cards:
|
||||
- type: custom:decluttering-card
|
||||
template: sonos_media_player
|
||||
variables:
|
||||
- player: media_player.bathroom
|
||||
- sync_volume: false
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
template: xs
|
||||
entity: sensor.philip_defranco
|
||||
name: PDS
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: script.youtube_play_latest_pds
|
||||
- type: custom:button-card
|
||||
template: xs
|
||||
entity: script.music_play
|
||||
name: Chill
|
||||
icon: mdi:music
|
||||
tap_action:
|
||||
action: toggle
|
||||
- type: custom:button-card
|
||||
template: xs
|
||||
entity: script.music_play
|
||||
name: Retro
|
||||
icon: mdi:music
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: script.music_play
|
||||
service_data:
|
||||
playlist: "Retro"
|
||||
- type: custom:button-card
|
||||
template:
|
||||
- xs
|
||||
- with_state_background
|
||||
entity: binary_sensor.sonos_is_bedroom_master
|
||||
name: Bedroom
|
||||
icon: mdi:speaker-multiple
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: script.sonos_join_bedroom
|
||||
- type: custom:button-card
|
||||
template:
|
||||
- xs
|
||||
- with_state_background
|
||||
entity: binary_sensor.sonos_is_living_room_master
|
||||
name: TV
|
||||
icon: mdi:speaker-multiple
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: script.sonos_join_tv
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
- type: custom:mod-card
|
||||
style:
|
||||
layout-card:
|
||||
$:
|
||||
.: |
|
||||
#columns {
|
||||
padding: 0 10px;
|
||||
}
|
||||
#columns .column {
|
||||
padding: 10px 10px;
|
||||
}
|
||||
card:
|
||||
type: custom:layout-card
|
||||
layout: horizontal
|
||||
max_columns: 1
|
||||
cards:
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- type: horizontal-stack
|
||||
title: Lights
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
template: default
|
||||
entity: light.hallway_all_lights
|
||||
name: Hallway
|
||||
- type: custom:button-card
|
||||
template: default
|
||||
entity: light.hallway_entrance_lights
|
||||
name: Entrance
|
||||
- type: custom:button-card
|
||||
template: default
|
||||
entity: light.hallway_main_lights
|
||||
name: Main
|
||||
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
template:
|
||||
- default
|
||||
- with_state_indicator
|
||||
entity: binary_sensor.motion_2_ias_zone
|
||||
name: Hallway
|
||||
variables:
|
||||
state_indicator_id: automation.lighting_hallway_day_mode_motion_turn_lights_on
|
||||
- type: custom:button-card
|
||||
template:
|
||||
- small
|
||||
- progress
|
||||
entity: sensor.motion_2_illuminance
|
||||
name: Lux
|
||||
variables:
|
||||
min_value: 0
|
||||
max_value: 1000
|
||||
normal_value: 1000
|
||||
|
||||
Reference in New Issue
Block a user