mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-07 17:34:42 +00:00
Style with layout cards
This commit is contained in:
@@ -4,60 +4,72 @@ icon: "mdi:chef-hat"
|
||||
badges: []
|
||||
panel: true
|
||||
cards:
|
||||
- type: custom:layout-card
|
||||
layout: horizontal
|
||||
max_columns: 3
|
||||
cards:
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- type: entities
|
||||
title: Lights
|
||||
show_header_toggle: false
|
||||
entities:
|
||||
- light.tuya_kitchen_all_lights
|
||||
- light.tuya_kitchen_main_lights
|
||||
- light.tuya_kitchen_secondary_lights
|
||||
- type: divider
|
||||
- type: custom:fold-entity-row
|
||||
entity: light.kitchen_main_lights
|
||||
name: Main lights
|
||||
entities:
|
||||
- light.light_le_11
|
||||
- light.light_le_12
|
||||
- light.light_orbecco_1
|
||||
- type: custom:mod-card
|
||||
style:
|
||||
layout-card:
|
||||
$:
|
||||
.: |
|
||||
#columns {
|
||||
margin: 0 10px;
|
||||
}
|
||||
#columns .column {
|
||||
margin: 20px 10px;
|
||||
}
|
||||
card:
|
||||
type: custom:layout-card
|
||||
layout: horizontal
|
||||
max_columns: 3
|
||||
cards:
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- type: entities
|
||||
title: Lights
|
||||
show_header_toggle: false
|
||||
entities:
|
||||
- light.tuya_kitchen_all_lights
|
||||
- light.tuya_kitchen_main_lights
|
||||
- light.tuya_kitchen_secondary_lights
|
||||
- type: divider
|
||||
- type: custom:fold-entity-row
|
||||
entity: light.kitchen_main_lights
|
||||
name: Main lights
|
||||
entities:
|
||||
- light.light_le_11
|
||||
- light.light_le_12
|
||||
- light.light_orbecco_1
|
||||
|
||||
- type: custom:decluttering-card
|
||||
template: sonos_media_player
|
||||
variables:
|
||||
- player: media_player.kitchen
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- type: glance
|
||||
title: Sensors
|
||||
entities:
|
||||
- entity: binary_sensor.motion_1_ias_zone
|
||||
- entity: sensor.motion_1_illuminance
|
||||
- entity: binary_sensor.motion_1_occupancy
|
||||
- entity: sensor.motion_1_power
|
||||
- type: "custom:mini-graph-card"
|
||||
animate: true
|
||||
points_per_hour: 1
|
||||
hours_to_show: 48
|
||||
show:
|
||||
graph: bar
|
||||
average: true
|
||||
extrema: true
|
||||
entities:
|
||||
- entity: sensor.motion_1_illuminance
|
||||
- type: custom:decluttering-card
|
||||
template: sonos_media_player
|
||||
variables:
|
||||
- player: media_player.kitchen
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- type: glance
|
||||
title: Sensors
|
||||
entities:
|
||||
- entity: binary_sensor.motion_1_ias_zone
|
||||
- entity: sensor.motion_1_illuminance
|
||||
- entity: binary_sensor.motion_1_occupancy
|
||||
- entity: sensor.motion_1_power
|
||||
- type: "custom:mini-graph-card"
|
||||
animate: true
|
||||
points_per_hour: 1
|
||||
hours_to_show: 48
|
||||
show:
|
||||
graph: bar
|
||||
average: true
|
||||
extrema: true
|
||||
entities:
|
||||
- entity: sensor.motion_1_illuminance
|
||||
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- type: entities
|
||||
title: Brita Filter
|
||||
icon: mdi:filter-outline
|
||||
entities:
|
||||
- input_number.brita_remaining_liters
|
||||
- input_datetime.brita_next_change
|
||||
- binary_sensor.brita_should_change_filter
|
||||
- script.brita_new_filter
|
||||
- script.brita_pour_water
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- type: entities
|
||||
title: Brita Filter
|
||||
icon: mdi:filter-outline
|
||||
entities:
|
||||
- input_number.brita_remaining_liters
|
||||
- input_datetime.brita_next_change
|
||||
- binary_sensor.brita_should_change_filter
|
||||
- script.brita_new_filter
|
||||
- script.brita_pour_water
|
||||
|
||||
Reference in New Issue
Block a user