mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-15 12:34:42 +00:00
255 lines
9.5 KiB
YAML
255 lines
9.5 KiB
YAML
title: Lights
|
|
path: lights
|
|
icon: mdi:lightbulb
|
|
panel: true
|
|
cards:
|
|
- type: custom:mod-card
|
|
style:
|
|
layout-card:
|
|
$:
|
|
horizontal-layout:
|
|
$:
|
|
.: |
|
|
#columns {
|
|
margin: 0 20px;
|
|
grid-gap: 20px;
|
|
}
|
|
card:
|
|
type: custom:layout-card
|
|
layout_type: custom:horizontal-layout
|
|
layout:
|
|
max_cols: 2
|
|
cards:
|
|
- type: entities
|
|
title: Living room
|
|
icon: mdi:sofa
|
|
show_header_toggle: false
|
|
entities:
|
|
- type: custom:slider-entity-row
|
|
entity: light.living_room
|
|
name: All lights
|
|
toggle: true
|
|
step: 5
|
|
- type: custom:fold-entity-row
|
|
head:
|
|
entity: light.living_room_main
|
|
name: Main lights
|
|
entities:
|
|
- type: custom:slider-entity-row
|
|
entity: light.living_room_main
|
|
name: Brightness
|
|
hide_state: true
|
|
step: 5
|
|
- type: custom:slider-entity-row
|
|
entity: light.living_room_main
|
|
name: Temperature
|
|
attribute: color_temp
|
|
hide_state: true
|
|
min: 153
|
|
max: 500
|
|
step: 5
|
|
- type: custom:decluttering-card
|
|
template: light_with_fade_and_switch
|
|
variables:
|
|
- light: light.light_le_1
|
|
- fade: switch.light_le_1_fade
|
|
- wifi: sensor.light_le_1_wifi
|
|
- type: custom:decluttering-card
|
|
template: light_with_fade_and_switch
|
|
variables:
|
|
- light: light.light_le_2
|
|
- fade: switch.light_le_2_fade
|
|
- wifi: sensor.light_le_2_wifi
|
|
- type: custom:decluttering-card
|
|
template: light_with_fade_and_switch
|
|
variables:
|
|
- light: light.light_le_3
|
|
- fade: switch.light_le_3_fade
|
|
- wifi: sensor.light_le_3_wifi
|
|
- type: custom:decluttering-card
|
|
template: light_with_fade_and_switch
|
|
variables:
|
|
- light: light.light_le_4
|
|
- fade: switch.light_le_4_fade
|
|
- wifi: sensor.light_le_4_wifi
|
|
- type: custom:decluttering-card
|
|
template: light_with_update_and_lqi
|
|
variables:
|
|
- light: light.pc
|
|
- lqi: sensor.pc_lqi
|
|
- update: binary_sensor.pc_update_available
|
|
- light.living_room_ambient
|
|
- light.living_room_ambient_main
|
|
- type: custom:fold-entity-row
|
|
head:
|
|
type: custom:decluttering-card
|
|
template: light_with_fade_and_switch
|
|
variables:
|
|
- light: light.light_lohas_2
|
|
- fade: switch.light_lohas_2
|
|
- wifi: sensor.light_lohas_2_wifi
|
|
entities:
|
|
- type: custom:slider-entity-row
|
|
entity: light.light_lohas_2
|
|
name: Brightness
|
|
hide_state: true
|
|
step: 5
|
|
|
|
- type: entities
|
|
title: Bedroom
|
|
icon: mdi:bed-empty
|
|
show_header_toggle: false
|
|
entities:
|
|
- type: custom:slider-entity-row
|
|
entity: light.master_bedroom
|
|
name: All lights
|
|
toggle: true
|
|
step: 5
|
|
- type: custom:fold-entity-row
|
|
head:
|
|
entity: light.master_bedroom_main
|
|
name: Main lights
|
|
entities:
|
|
- type: custom:slider-entity-row
|
|
entity: light.master_bedroom_main
|
|
name: Brightness
|
|
hide_state: true
|
|
step: 5
|
|
- type: custom:slider-entity-row
|
|
entity: light.master_bedroom_main
|
|
name: Temperature
|
|
attribute: color_temp
|
|
hide_state: true
|
|
min: 153
|
|
max: 500
|
|
step: 5
|
|
- type: custom:decluttering-card
|
|
template: light_with_update_and_lqi
|
|
variables:
|
|
- light: light.hue_2
|
|
- lqi: sensor.hue_2_lqi
|
|
- update: binary_sensor.hue_2_update_available
|
|
- type: custom:decluttering-card
|
|
template: light_with_update_and_lqi
|
|
variables:
|
|
- light: light.hue_3
|
|
- lqi: sensor.hue_3_lqi
|
|
- update: binary_sensor.hue_3_update_available
|
|
- type: custom:decluttering-card
|
|
template: light_with_update_and_lqi
|
|
variables:
|
|
- light: light.hue_4
|
|
- lqi: sensor.hue_4_lqi
|
|
- update: binary_sensor.hue_4_update_available
|
|
- type: custom:decluttering-card
|
|
template: light_with_update_and_lqi
|
|
variables:
|
|
- light: light.hue_5
|
|
- lqi: sensor.hue_5_lqi
|
|
- update: binary_sensor.hue_5_update_available
|
|
- light.bedside
|
|
- light.bed_led
|
|
|
|
- type: entities
|
|
title: Kitchen
|
|
icon: mdi:chef-hat
|
|
show_header_toggle: false
|
|
entities:
|
|
- light.kitchen
|
|
- type: divider
|
|
- type: custom:fold-entity-row
|
|
entity: light.kitchen_main
|
|
name: Main lights
|
|
entities:
|
|
- light.hue_ambiance_6
|
|
- light.neo_1
|
|
- light.neo_2
|
|
- type: divider
|
|
- type: custom:fold-entity-row
|
|
entity: light.kitchen_secondary
|
|
name: Secondary lights
|
|
entities:
|
|
- type: custom:decluttering-card
|
|
template: light_with_update_and_lqi
|
|
variables:
|
|
- light: light.hue_ambiance_1
|
|
- lqi: sensor.hue_ambiance_1_lqi
|
|
- update: binary_sensor.hue_ambiance_1_update_available
|
|
- type: custom:decluttering-card
|
|
template: light_with_update_and_lqi
|
|
variables:
|
|
- light: light.hue_ambiance_2
|
|
- lqi: sensor.hue_ambiance_2_lqi
|
|
- update: binary_sensor.hue_ambiance_2_update_available
|
|
- type: custom:decluttering-card
|
|
template: light_with_update_and_lqi
|
|
variables:
|
|
- light: light.hue_ambiance_3
|
|
- lqi: sensor.hue_ambiance_3_lqi
|
|
- update: binary_sensor.hue_ambiance_3_update_available
|
|
- type: custom:decluttering-card
|
|
template: light_with_update_and_lqi
|
|
variables:
|
|
- light: light.hue_ambiance_4
|
|
- lqi: sensor.hue_ambiance_4_lqi
|
|
- update: binary_sensor.hue_ambiance_4_update_available
|
|
|
|
- type: entities
|
|
title: Hallway
|
|
icon: mdi:door-closed
|
|
show_header_toggle: false
|
|
entities:
|
|
- light.hallway
|
|
- type: divider
|
|
- type: custom:fold-entity-row
|
|
entity: light.hallway_entrance
|
|
name: Entrance lights
|
|
entities:
|
|
- type: custom:slider-entity-row
|
|
entity: light.hallway_entrance
|
|
name: Brightness
|
|
hide_state: true
|
|
step: 5
|
|
- type: custom:decluttering-card
|
|
template: light_with_update_and_lqi
|
|
variables:
|
|
- light: light.hue_white_1
|
|
- lqi: sensor.hue_white_1_lqi
|
|
- update: binary_sensor.hue_white_1_update_available
|
|
- type: custom:decluttering-card
|
|
template: light_with_update_and_lqi
|
|
variables:
|
|
- light: light.hue_white_2
|
|
- lqi: sensor.hue_white_2_lqi
|
|
- update: binary_sensor.hue_white_2_update_available
|
|
|
|
- type: divider
|
|
- type: custom:fold-entity-row
|
|
entity: light.hallway_main
|
|
name: Main lights
|
|
entities:
|
|
- type: custom:decluttering-card
|
|
template: light_with_update_and_lqi
|
|
variables:
|
|
- light: light.hue_ambiance_5
|
|
- lqi: sensor.hue_ambiance_5_lqi
|
|
- update: binary_sensor.hue_ambiance_5_update_available
|
|
- type: custom:decluttering-card
|
|
template: light_with_update_and_lqi
|
|
variables:
|
|
- light: light.hue_1
|
|
- lqi: sensor.hue_1_lqi
|
|
- update: binary_sensor.hue_1_update_available
|
|
|
|
- type: entities
|
|
title: Guest Bedroom
|
|
icon: mdi:door-closed
|
|
show_header_toggle: false
|
|
entities:
|
|
- type: custom:decluttering-card
|
|
template: light_with_fade_and_switch
|
|
variables:
|
|
- light: light.light_lohas_6
|
|
- fade: switch.light_lohas_6
|
|
- wifi: sensor.light_lohas_6_wifi
|