Add hallway view. Add new lights to views

This commit is contained in:
2020-03-25 22:15:05 +02:00
parent 34599fd4c0
commit 7623403f58
9 changed files with 116 additions and 20 deletions
+6 -14
View File
@@ -35,23 +35,15 @@ cards:
- type: custom:decluttering-card
template: light_with_fade_and_switch
variables:
- light: light.light_le_1
- fade: switch.light_le_1_light_fade
- light: light.light_lohas_1
- fade: switch.light_lohas_1_fade
- type: custom:decluttering-card
template: light_with_fade_and_switch
variables:
- light: light.light_le_2
- fade: switch.light_le_2_light_fade
- type: custom:decluttering-card
template: light_with_fade_and_switch
variables:
- light: light.light_le_3
- fade: switch.light_le_3_light_fade
- type: custom:decluttering-card
template: light_with_fade_and_switch
variables:
- light: light.light_le_4
- fade: switch.light_le_4_light_fade
- light: light.light_lohas_2
- fade: switch.light_lohas_2_fade
- light.light_le_9
- light.light_le_10
- type: custom:fold-entity-row
head:
type: custom:decluttering-card
+45 -2
View File
@@ -7,9 +7,52 @@ cards:
cards:
- type: entities
title: Lights
entities:
- entity: light.bedside_light
show_header_toggle: false
entities:
- type: custom:slider-entity-row
entity: light.master_bedroom_all_lights
name: All lights
toggle: true
step: 5
- type: custom:fold-entity-row
head:
entity: light.master_bedroom_main_lights
name: Main lights
entities:
- type: custom:slider-entity-row
entity: light.master_bedroom_main_lights
name: Brightness
hide_state: true
step: 5
- type: custom:slider-entity-row
entity: light.master_bedroom_main_lights
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
- type: custom:decluttering-card
template: light_with_fade_and_switch
variables:
- light: light.light_le_2
- fade: switch.light_le_2_fade
- type: custom:decluttering-card
template: light_with_fade_and_switch
variables:
- light: light.light_le_3
- fade: switch.light_le_3_fade
- type: custom:decluttering-card
template: light_with_fade_and_switch
variables:
- light: light.light_le_4
- fade: switch.light_le_4_fade
- light.bedside_light
- type: custom:decluttering-card
template: sonos_media_player
+12
View File
@@ -3,6 +3,18 @@ path: kitchen
icon: "mdi:chef-hat"
badges: []
cards:
- type: entities
title: Lights
show_header_toggle: false
entities:
- 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:
+22
View File
@@ -0,0 +1,22 @@
title: Hallway
path: hallway
icon: "mdi:door-closed"
badges: []
cards:
- type: entities
title: Lights
show_header_toggle: false
entities:
- light.hallway_all_lights
- type: custom:fold-entity-row
entity: light.hallway_entrance_lights
name: Entrance lights
entities:
- light.light_le_5
- light.light_le_6
- type: custom:fold-entity-row
entity: light.hallway_main_lights
name: Main lights
entities:
- light.light_le_7
- light.light_le_8
@@ -10,6 +10,32 @@ cards:
- entity: sensor.carbon_activity
- entity: sensor.carbon_last_update_trigger
- type: entities
entities:
- entity: light.light_le_1
- entity: light.light_le_2
- entity: light.light_le_3
- entity: light.light_le_4
- entity: light.light_le_5
- entity: light.light_le_6
- entity: light.light_le_7
- entity: light.light_le_8
- entity: light.light_le_9
- entity: light.light_le_10
- entity: light.light_le_11
- entity: light.light_le_12
- entity: light.light_lohas_1
- entity: light.light_lohas_2
- entity: light.light_orbecco_1
- entity: light.living_room_all_lights
- entity: light.living_room_main_lights
- entity: light.master_bedroom_all_lights
- entity: light.master_bedroom_main_lights
- entity: light.hallway_all_lights
- entity: light.hallway_main_lights
- entity: light.hallway_entrance_lights
- entity: light.kitchen_main_lights
- type: "custom:light-entity-card"
brightness: true
brightness_icon: weather-sunny