More lights!

This commit is contained in:
2020-04-25 12:27:15 +03:00
parent ef37014d1a
commit e6ca9150e1
14 changed files with 220 additions and 81 deletions
@@ -194,7 +194,7 @@
conditions:
- entity: binary_sensor.floorplan_night_mode
state: "on"
- entity: light.tuya_hallway_entrance_lights
- entity: light.hallway_entrance_lights
state: "on"
- entity: light.tuya_hallway_main_lights
state: "off"
@@ -212,7 +212,7 @@
conditions:
- entity: binary_sensor.floorplan_night_mode
state: "on"
- entity: light.tuya_hallway_entrance_lights
- entity: light.hallway_entrance_lights
state: "off"
- entity: light.tuya_hallway_main_lights
state: "on"
@@ -230,7 +230,7 @@
conditions:
- entity: binary_sensor.floorplan_night_mode
state: "on"
- entity: light.tuya_hallway_entrance_lights
- entity: light.hallway_entrance_lights
state: "on"
- entity: light.tuya_hallway_main_lights
state: "on"
@@ -50,7 +50,7 @@
- type: custom:decluttering-card
template: floorplan_state_icon
variables:
- entity: light.tuya_hallway_entrance_lights
- entity: light.hallway_entrance_lights
- top: 25%
- left: 50.2%
+24 -4
View File
@@ -24,12 +24,24 @@ cards:
cards:
- type: entities
title: Lights
entities: []
- type: horizontal-stack
cards:
- type: custom:button-card
template: small
entity: light.tuya_kitchen_all_lights
name: All lights
- type: custom:button-card
template: small
entity: light.tuya_kitchen_main_lights
name: Main
- type: custom:button-card
template: small
entity: light.tuya_kitchen_secondary_lights
name: Secondary
- type: entities
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
@@ -37,6 +49,14 @@ cards:
- light.light_le_11
- light.light_le_12
- light.light_orbecco_1
- type: custom:fold-entity-row
entity: light.kitchen_secondary_lights
name: Secondary lights
entities:
- light.light_le_5
- light.light_le_6
- light.light_le_9
- light.light_le_10
- type: custom:decluttering-card
template: sonos_media_player
+58 -19
View File
@@ -18,26 +18,65 @@ cards:
type: custom:layout-card
layout: horizontal
cards:
- type: entities
title: Lights
show_header_toggle: false
entities:
- light.tuya_hallway_all_lights
- light.tuya_hallway_entrance_lights
- light.tuya_hallway_main_lights
- type: divider
- type: custom:fold-entity-row
entity: light.hallway_entrance_lights
name: Entrance lights
- type: vertical-stack
cards:
- type: entities
title: Lights
entities: []
- type: horizontal-stack
cards:
- type: custom:button-card
template: small
entity: light.hallway_all_lights
name: All lights
- type: custom:button-card
template: small
entity: light.hallway_entrance_lights
name: Entrance
- type: custom:button-card
template: small
entity: light.tuya_hallway_main_lights
name: Main
- type: entities
show_header_toggle: false
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
- type: custom:fold-entity-row
entity: light.hallway_entrance_lights
name: Entrance lights
entities:
- type: custom:slider-entity-row
entity: light.hallway_entrance_lights
name: Brightness
hide_state: true
step: 5
- type: custom:slider-entity-row
entity: light.hallway_entrance_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_lohas_5
- fade: switch.light_lohas_5_fade
- wifi: sensor.light_lohas_5_wifi
- type: custom:decluttering-card
template: light_with_fade_and_switch
variables:
- light: light.light_lohas_6
- fade: switch.light_lohas_6_fade
- wifi: sensor.light_lohas_6_wifi
- type: custom:fold-entity-row
entity: light.hallway_main_lights
name: Main lights
entities:
- light.light_le_7
- light.light_le_8
- type: vertical-stack
cards:
+15 -9
View File
@@ -24,11 +24,13 @@ cards:
show_header_toggle: false
entities:
- light.living_room_all_lights
- type: divider
- light.living_room_main_lights
- light.light_lohas_1
- light.light_lohas_2
- light.light_lohas_3
- light.light_lohas_4
- type: divider
- light.pc
- type: entities
@@ -37,11 +39,13 @@ cards:
show_header_toggle: false
entities:
- light.master_bedroom_all_lights
- type: divider
- light.master_bedroom_main_lights
- light.light_le_1
- light.light_le_2
- light.light_le_3
- light.light_le_4
- type: divider
- light.bedside_light
- type: entities
@@ -50,14 +54,17 @@ cards:
show_header_toggle: false
entities:
- light.tuya_kitchen_all_lights
- light.tuya_kitchen_main_lights
- light.tuya_kitchen_secondary_lights
- type: divider
- light.tuya_kitchen_main_lights
- light.kitchen_main_lights
- light.light_le_11
- light.light_le_12
- light.light_orbecco_1
- type: divider
- light.tuya_kitchen_secondary_lights
- light.kitchen_secondary_lights
- light.light_le_5
- light.light_le_6
- light.light_le_9
- light.light_le_10
@@ -66,14 +73,13 @@ cards:
icon: mdi:door-closed
show_header_toggle: false
entities:
- light.tuya_hallway_all_lights
- light.tuya_hallway_main_lights
- light.tuya_hallway_entrance_lights
- type: divider
- light.hallway_all_lights
- light.hallway_main_lights
- type: divider
- light.hallway_entrance_lights
- light.light_le_5
- light.light_le_6
- light.light_lohas_5
- light.light_lohas_6
- type: divider
- light.tuya_hallway_main_lights
- light.hallway_main_lights
- light.light_le_7
- light.light_le_8