Switch lights

This commit is contained in:
2020-04-26 19:17:50 +03:00
parent 396f29ac12
commit dd153b116d
4 changed files with 36 additions and 36 deletions

View File

@@ -50,27 +50,27 @@ cards:
- type: custom:decluttering-card
template: light_with_fade_and_switch
variables:
- light: light.light_lohas_1
- fade: switch.light_lohas_1_fade
- wifi: sensor.light_lohas_1_wifi
- 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_lohas_2
- fade: switch.light_lohas_2_fade
- wifi: sensor.light_lohas_2_wifi
- 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_lohas_3
- fade: switch.light_lohas_3_fade
- wifi: sensor.light_lohas_3_wifi
- 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_lohas_4
- fade: switch.light_lohas_4_fade
- wifi: sensor.light_lohas_4_wifi
- light: light.light_le_4
- fade: switch.light_le_4_fade
- wifi: sensor.light_le_4_wifi
- type: custom:fold-entity-row
head:
type: custom:decluttering-card

View File

@@ -50,27 +50,27 @@ cards:
- 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
- light: light.light_lohas_1
- fade: switch.light_lohas_1_fade
- wifi: sensor.light_lohas_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
- light: light.light_lohas_2
- fade: switch.light_lohas_2_fade
- wifi: sensor.light_lohas_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
- light: light.light_lohas_3
- fade: switch.light_lohas_3_fade
- wifi: sensor.light_lohas_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
- light: light.light_lohas_4
- fade: switch.light_lohas_4_fade
- wifi: sensor.light_lohas_4_wifi
- light.bedside_light
- light.bed_led

View File

@@ -41,10 +41,10 @@ cards:
- 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
- light.light_lohas_1
- light.light_lohas_2
- light.light_lohas_3
- light.light_lohas_4
- type: divider
- light.bedside_light

View File

@@ -2,10 +2,10 @@ light:
- platform: group
name: Living room main lights
entities:
- light.light_lohas_1
- light.light_lohas_2
- light.light_lohas_3
- light.light_lohas_4
- light.light_le_1
- light.light_le_2
- light.light_le_3
- light.light_le_4
- platform: group
name: Living room all lights
@@ -16,10 +16,10 @@ light:
- platform: group
name: Master bedroom main lights
entities:
- light.light_le_1
- light.light_le_2
- light.light_le_3
- light.light_le_4
- light.light_lohas_1
- light.light_lohas_2
- light.light_lohas_3
- light.light_lohas_4
- platform: group
name: Master bedroom all lights