Initial guest bedroom config

This commit is contained in:
2021-10-13 21:52:08 +03:00
parent 967a8a50ce
commit ffa760ed9d
4 changed files with 61 additions and 1 deletions
@@ -0,0 +1,47 @@
- type: custom:mod-card
style:
layout-card:
.: |
* {
--primary-color: #188A9C
}
$:
horizontal-layout:
$:
.: |
#columns {
margin: 0 20px;
grid-gap: 20px;
}
card:
type: custom:layout-card
layout_type: custom:horizontal-layout
layout:
max_cols: 3
cards:
- type: vertical-stack
cards:
- type: custom:decluttering-card
template: v3_title
variables:
- title: Guest Bedroom
- type: horizontal-stack
cards:
- type: custom:button-card
template: v3_badge_temp
entity: sensor.guest_bedroom_weather_temperature
- type: custom:button-card
template: v3_badge_humidity
entity: sensor.guest_bedroom_weather_humidity
- type: custom:decluttering-card
template: v3_section_title
variables:
- title: Lights
- type: horizontal-stack
cards:
- type: custom:button-card
template: v3_button_light
entity: light.light_lohas_6
name: Night stand
@@ -76,6 +76,10 @@
entity: binary_sensor.pi_hole_enabled
name: Pi-Hole
icon: mdi:pi-hole
- type: custom:button-card
template: v3_button
entity: input_boolean.guest_bedroom
name: G. Bedroom Occupied
- type: custom:decluttering-card
template: v3_section_title
+3 -1
View File
@@ -1,8 +1,10 @@
input_boolean:
guest_mode:
name: Guest mode
initial: off
icon: mdi:human-greeting
guest_bedroom:
name: Guest Bedroom
icon: mdi:cogs
automation:
- alias: Guest mode · Enable
+7
View File
@@ -46,6 +46,13 @@ views:
background: 'center / cover no-repeat url("/local/images/wallpapers-3/hallway_2.jpg") #188A9C fixed'
cards: !include lovelace/home_dashboard/hallway_dashboard.yaml
theme: sarah-noctis-grey
- title: Guest Bedroom
path: guest_bedroom
icon: "mdi:numeric-2-box-outline"
panel: true
background: '#188A9C'
cards: !include lovelace/home_dashboard/guest_bedroom_dashboard.yaml
theme: sarah-noctis-grey
- title: Preferences
path: Preferences
icon: "mdi:cogs"