Files
sarah/config/lovelace/home_dashboard/guest_bedroom_dashboard.yaml
T
2022-01-13 20:28:38 +02:00

64 lines
1.9 KiB
YAML

- type: custom:mod-card
style:
layout-card:
.: |
* {
--primary-color: #0040A0
}
$:
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_button_person
# entity: input_boolean.player_2_home
# styles:
# card:
# - background-image: url("/local/images/people/milena.jpg")
- 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: Controls
- type: horizontal-stack
cards:
- type: custom:button-card
template: v3_button_light
entity: light.light_lohas_6
name: Night stand
- type: custom:button-card
template: v3_button
entity: input_select.guest_bedroom_mode
icon: mdi:bed
name: Mode
tap_action:
action: call-service
service: input_select.select_next
service_data:
entity_id: input_select.guest_bedroom_mode