Files
sarah/lovelace/home_dashboard/guest_bedroom_dashboard.yaml
T
Georgi Gardev 055a2eb484 Implement chips
2022-12-01 16:02:01 +02:00

80 lines
2.4 KiB
YAML

- type: custom:mod-card
style:
layout-card:
.: |
* {
--primary-color: #0040A0;
margin: 0 var(--main-layout-card-margin);
}
$:
horizontal-layout:
$:
.: |
#columns {
margin: 0 20px;
grid-gap: 20px;
}
card:
type: custom:layout-card
layout_type: custom:horizontal-layout
layout:
max_cols: 1
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_chip
entity: sensor.guest_bedroom_weather_temperature
- type: custom:button-card
template: v3_chip
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.tradfri_large
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
- type: custom:decluttering-card
template: v3_section_title
variables:
- title: Devices
- type: horizontal-stack
cards:
- type: custom:button-card
template: v3_button
entity: sensor.mercury_temperature
name: Mercury
icon: mdi:nas
- !include ../popup_cards.yaml