This commit is contained in:
2021-04-16 18:01:15 +03:00
parent 8f7185d941
commit d85d870109
9 changed files with 490 additions and 245 deletions
@@ -71,7 +71,12 @@ cards:
- light: light.light_le_4 - light: light.light_le_4
- fade: switch.light_le_4_fade - fade: switch.light_le_4_fade
- wifi: sensor.light_le_4_wifi - wifi: sensor.light_le_4_wifi
- light.pc - type: custom:decluttering-card
template: light_with_fade_and_switch
variables:
- light: light.pc
- fade: switch.pc_fade
- wifi: sensor.pc_wifi
- light.living_room_ambient - light.living_room_ambient
- light.living_room_ambient_main - light.living_room_ambient_main
- type: custom:fold-entity-row - type: custom:fold-entity-row
@@ -118,29 +123,29 @@ cards:
max: 500 max: 500
step: 5 step: 5
- type: custom:decluttering-card - type: custom:decluttering-card
template: light_with_fade_and_switch template: light_with_update_and_lqi
variables: variables:
- light: light.light_lohas_1 - light: light.hue_2
- fade: switch.light_lohas_1_fade - lqi: sensor.hue_2_lqi
- wifi: sensor.light_lohas_1_wifi - update: binary_sensor.hue_2_update_available
- type: custom:decluttering-card - type: custom:decluttering-card
template: light_with_fade_and_switch template: light_with_update_and_lqi
variables: variables:
- light: light.light_lohas_2 - light: light.hue_3
- fade: switch.light_lohas_2_fade - lqi: sensor.hue_3_lqi
- wifi: sensor.light_lohas_2_wifi - update: binary_sensor.hue_3_update_available
- type: custom:decluttering-card - type: custom:decluttering-card
template: light_with_fade_and_switch template: light_with_update_and_lqi
variables: variables:
- light: light.light_lohas_3 - light: light.hue_4
- fade: switch.light_lohas_3_fade - lqi: sensor.hue_4_lqi
- wifi: sensor.light_lohas_3_wifi - update: binary_sensor.hue_4_update_available
- type: custom:decluttering-card - type: custom:decluttering-card
template: light_with_fade_and_switch template: light_with_update_and_lqi
variables: variables:
- light: light.light_lohas_6 - light: light.hue_5
- fade: switch.light_lohas_6_fade - lqi: sensor.hue_5_lqi
- wifi: sensor.light_lohas_6_wifi - update: binary_sensor.hue_5_update_available
- light.bedside - light.bedside
- light.bed_led - light.bed_led
@@ -156,19 +161,39 @@ cards:
entity: light.kitchen_main entity: light.kitchen_main
name: Main lights name: Main lights
entities: entities:
- light.ledvance_1 # light.osram_2 - light.ledvance_1
- light.osram_3
- light.neo_1 - light.neo_1
- light.neo_2
- type: divider - type: divider
- light.kitchen_secondary - light.kitchen_secondary
- type: custom:fold-entity-row - type: custom:fold-entity-row
entity: light.kitchen_secondary entity: light.kitchen_secondary
name: Secondary lights name: Secondary lights
entities: entities:
- light.hue_1 # light.osram_6 - type: custom:decluttering-card
- light.osram_7 template: light_with_update_and_lqi
- light.osram_8 variables:
- light.osram_9 - 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 - type: entities
title: Hallway title: Hallway
@@ -205,5 +230,15 @@ cards:
entity: light.hallway_main entity: light.hallway_main
name: Main lights name: Main lights
entities: entities:
- light.osram_4 - type: custom:decluttering-card
- light.osram_1 template: light_with_update_and_lqi
variables:
- light: light.hue_white_3
- lqi: sensor.hue_white_3_lqi
- update: binary_sensor.hue_white_3_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
@@ -80,7 +80,7 @@ scene:
light.master_bedroom_main: light.master_bedroom_main:
state: "on" state: "on"
brightness: 255 brightness: 255
color_temp: 500 color_temp: 350
light.bedside: light.bedside:
state: "on" state: "on"
color_temp: 359 color_temp: 359
@@ -58,16 +58,17 @@ automation:
entity_id: entity_id:
- light.living_room_ambient_main - light.living_room_ambient_main
- light.bedside - light.bedside
- light.bed_led
- light.master_bedroom_main - light.master_bedroom_main
data: data:
rgb_color: [0, 0, 255] rgb_color: [0, 0, 255]
brightness_pct: 40 brightness_pct: 40
- service: light.turn_on - service: light.turn_on
entity_id: entity_id:
- light.bed_led
- light.light_avatar_small_1 # living room ambient Secondary - light.light_avatar_small_1 # living room ambient Secondary
- light.light_lohas_6 # entrance 1 - light.hue_1 # Hallway
- light.neo_1 # Kitchen - light.neo_1 # Kitchen
- light.neo_2 # Kitchen
- light.pc - light.pc
data: data:
rgb_color: [0, 0, 255] rgb_color: [0, 0, 255]
@@ -28,10 +28,10 @@ light:
- platform: group - platform: group
name: Master bedroom main name: Master bedroom main
entities: entities:
- light.light_lohas_1 - light.hue_2
- light.light_lohas_2 - light.hue_3
- light.light_lohas_3 - light.hue_4
- light.light_lohas_6 - light.hue_5
- platform: group - platform: group
name: Master bedroom name: Master bedroom
@@ -43,17 +43,17 @@ light:
- platform: group - platform: group
name: Kitchen main name: Kitchen main
entities: entities:
- light.ledvance_1 # osram_2 - light.ledvance_1
- light.osram_3 - light.neo_2
- light.neo_1 - light.neo_1
- platform: group - platform: group
name: Kitchen secondary name: Kitchen secondary
entities: entities:
- light.hue_1 # osram_6 - light.hue_ambiance_1
- light.osram_7 - light.hue_ambiance_2
- light.osram_8 - light.hue_ambiance_3
- light.osram_9 - light.hue_ambiance_4
- platform: group - platform: group
name: Kitchen name: Kitchen
@@ -61,12 +61,6 @@ light:
- light.kitchen_main - light.kitchen_main
- light.kitchen_secondary - light.kitchen_secondary
# - platform: group
# name: Tuya Kitchen
# entities:
# - light.tuya_kitchen_main
# - light.tuya_kitchen_secondary
- platform: group - platform: group
name: Hallway entrance name: Hallway entrance
entities: entities:
@@ -76,8 +70,8 @@ light:
- platform: group - platform: group
name: Hallway main name: Hallway main
entities: entities:
- light.osram_1 - light.hue_white_3
- light.osram_4 - light.hue_1
- platform: group - platform: group
name: Hallway name: Hallway
@@ -10,6 +10,7 @@ light:
schema: "json" schema: "json"
command_topic: "z2m_deconz/hue_white_1/set" command_topic: "z2m_deconz/hue_white_1/set"
brightness_scale: 254 brightness_scale: 254
- platform: "mqtt" - platform: "mqtt"
name: "hue_white_2" name: "hue_white_2"
state_topic: "z2m_deconz/hue_white_2" state_topic: "z2m_deconz/hue_white_2"
@@ -22,6 +23,114 @@ light:
command_topic: "z2m_deconz/hue_white_2/set" command_topic: "z2m_deconz/hue_white_2/set"
brightness_scale: 254 brightness_scale: 254
- platform: "mqtt"
name: "hue_white_3"
state_topic: "z2m_deconz/hue_white_3"
availability_topic: "z2m_deconz/bridge/state"
brightness: true
color_temp: false
xy: false
hs: false
schema: "json"
command_topic: "z2m_deconz/hue_white_3/set"
brightness_scale: 254
- platform: "mqtt"
name: "hue_white_4"
state_topic: "z2m_deconz/hue_white_4"
availability_topic: "z2m_deconz/bridge/state"
brightness: true
color_temp: false
xy: false
hs: false
schema: "json"
command_topic: "z2m_deconz/hue_white_4/set"
brightness_scale: 254
- platform: "mqtt"
name: "hue_ambiance_1"
state_topic: "z2m_deconz/hue_ambiance_1"
availability_topic: "z2m_deconz/bridge/state"
brightness: true
color_temp: true
xy: false
hs: false
schema: "json"
command_topic: "z2m_deconz/hue_ambiance_1/set"
brightness_scale: 254
max_mireds: 500
min_mireds: 150
effect: true
effect_list:
- "blink"
- "breathe"
- "okay"
- "channel_change"
- "finish_effect"
- platform: "mqtt"
name: "hue_ambiance_2"
state_topic: "z2m_deconz/hue_ambiance_2"
availability_topic: "z2m_deconz/bridge/state"
brightness: true
color_temp: true
xy: false
hs: false
schema: "json"
command_topic: "z2m_deconz/hue_ambiance_2/set"
brightness_scale: 254
max_mireds: 500
min_mireds: 150
effect: true
effect_list:
- "blink"
- "breathe"
- "okay"
- "channel_change"
- "finish_effect"
- platform: "mqtt"
name: "hue_ambiance_3"
state_topic: "z2m_deconz/hue_ambiance_3"
availability_topic: "z2m_deconz/bridge/state"
brightness: true
color_temp: true
xy: false
hs: false
schema: "json"
command_topic: "z2m_deconz/hue_ambiance_3/set"
brightness_scale: 254
max_mireds: 500
min_mireds: 150
effect: true
effect_list:
- "blink"
- "breathe"
- "okay"
- "channel_change"
- "finish_effect"
- platform: "mqtt"
name: "hue_ambiance_4"
state_topic: "z2m_deconz/hue_ambiance_4"
availability_topic: "z2m_deconz/bridge/state"
brightness: true
color_temp: true
xy: false
hs: false
schema: "json"
command_topic: "z2m_deconz/hue_ambiance_4/set"
brightness_scale: 254
max_mireds: 500
min_mireds: 150
effect: true
effect_list:
- "blink"
- "breathe"
- "okay"
- "channel_change"
- "finish_effect"
- platform: "mqtt" - platform: "mqtt"
name: "hue_1" name: "hue_1"
state_topic: "z2m_deconz/hue_1" state_topic: "z2m_deconz/hue_1"
@@ -44,6 +153,95 @@ light:
- "finish_effect" - "finish_effect"
- "stop_effect" - "stop_effect"
- platform: "mqtt"
name: "hue_2"
state_topic: "z2m_deconz/hue_2"
availability_topic: "z2m_deconz/bridge/state"
brightness: true
color_temp: true
xy: true
hs: false
schema: "json"
command_topic: "z2m_deconz/hue_2/set"
brightness_scale: 254
max_mireds: 500
min_mireds: 150
effect: true
effect_list:
- "blink"
- "breathe"
- "okay"
- "channel_change"
- "finish_effect"
- "stop_effect"
- platform: "mqtt"
name: "hue_3"
state_topic: "z2m_deconz/hue_3"
availability_topic: "z2m_deconz/bridge/state"
brightness: true
color_temp: true
xy: true
hs: false
schema: "json"
command_topic: "z2m_deconz/hue_3/set"
brightness_scale: 254
max_mireds: 500
min_mireds: 150
effect: true
effect_list:
- "blink"
- "breathe"
- "okay"
- "channel_change"
- "finish_effect"
- "stop_effect"
- platform: "mqtt"
name: "hue_4"
state_topic: "z2m_deconz/hue_4"
availability_topic: "z2m_deconz/bridge/state"
brightness: true
color_temp: true
xy: true
hs: false
schema: "json"
command_topic: "z2m_deconz/hue_4/set"
brightness_scale: 254
max_mireds: 500
min_mireds: 150
effect: true
effect_list:
- "blink"
- "breathe"
- "okay"
- "channel_change"
- "finish_effect"
- "stop_effect"
- platform: "mqtt"
name: "hue_5"
state_topic: "z2m_deconz/hue_5"
availability_topic: "z2m_deconz/bridge/state"
brightness: true
color_temp: true
xy: true
hs: false
schema: "json"
command_topic: "z2m_deconz/hue_5/set"
brightness_scale: 254
max_mireds: 500
min_mireds: 150
effect: true
effect_list:
- "blink"
- "breathe"
- "okay"
- "channel_change"
- "finish_effect"
- "stop_effect"
sensor: sensor:
- platform: "mqtt" - platform: "mqtt"
name: "hue_white_1_lqi" name: "hue_white_1_lqi"
@@ -73,6 +271,90 @@ sensor:
icon: "mdi:update" icon: "mdi:update"
value_template: "{{ value_json['update']['state'] }}" value_template: "{{ value_json['update']['state'] }}"
- platform: "mqtt"
name: "hue_white_3_lqi"
state_topic: "z2m_deconz/hue_white_3"
availability_topic: "z2m_deconz/bridge/state"
value_template: "{{ value_json.linkquality }}"
unit_of_measurement: "lqi"
icon: "mdi:signal"
- platform: "mqtt"
name: "hue_white_3_update_state"
state_topic: "z2m_deconz/hue_white_3"
availability_topic: "z2m_deconz/bridge/state"
icon: "mdi:update"
value_template: "{{ value_json['update']['state'] }}"
- platform: "mqtt"
name: "hue_white_4_lqi"
state_topic: "z2m_deconz/hue_white_4"
availability_topic: "z2m_deconz/bridge/state"
value_template: "{{ value_json.linkquality }}"
unit_of_measurement: "lqi"
icon: "mdi:signal"
- platform: "mqtt"
name: "hue_white_4_update_state"
state_topic: "z2m_deconz/hue_white_4"
availability_topic: "z2m_deconz/bridge/state"
icon: "mdi:update"
value_template: "{{ value_json['update']['state'] }}"
- platform: "mqtt"
name: "hue_ambiance_1_lqi"
state_topic: "z2m_deconz/hue_ambiance_1"
availability_topic: "z2m_deconz/bridge/state"
value_template: "{{ value_json.linkquality }}"
unit_of_measurement: "lqi"
icon: "mdi:signal"
- platform: "mqtt"
name: "hue_ambiance_1_update_state"
state_topic: "z2m_deconz/hue_ambiance_1"
availability_topic: "z2m_deconz/bridge/state"
icon: "mdi:update"
value_template: "{{ value_json['update']['state'] }}"
- platform: "mqtt"
name: "hue_ambiance_2_lqi"
state_topic: "z2m_deconz/hue_ambiance_2"
availability_topic: "z2m_deconz/bridge/state"
value_template: "{{ value_json.linkquality }}"
unit_of_measurement: "lqi"
icon: "mdi:signal"
- platform: "mqtt"
name: "hue_ambiance_2_update_state"
state_topic: "z2m_deconz/hue_ambiance_2"
availability_topic: "z2m_deconz/bridge/state"
icon: "mdi:update"
value_template: "{{ value_json['update']['state'] }}"
- platform: "mqtt"
name: "hue_ambiance_3_lqi"
state_topic: "z2m_deconz/hue_ambiance_3"
availability_topic: "z2m_deconz/bridge/state"
value_template: "{{ value_json.linkquality }}"
unit_of_measurement: "lqi"
icon: "mdi:signal"
- platform: "mqtt"
name: "hue_ambiance_3_update_state"
state_topic: "z2m_deconz/hue_ambiance_3"
availability_topic: "z2m_deconz/bridge/state"
icon: "mdi:update"
value_template: "{{ value_json['update']['state'] }}"
- platform: "mqtt"
name: "hue_ambiance_4_lqi"
state_topic: "z2m_deconz/hue_ambiance_4"
availability_topic: "z2m_deconz/bridge/state"
value_template: "{{ value_json.linkquality }}"
unit_of_measurement: "lqi"
icon: "mdi:signal"
- platform: "mqtt"
name: "hue_ambiance_4_update_state"
state_topic: "z2m_deconz/hue_ambiance_4"
availability_topic: "z2m_deconz/bridge/state"
icon: "mdi:update"
value_template: "{{ value_json['update']['state'] }}"
- platform: "mqtt" - platform: "mqtt"
name: "hue_1_lqi" name: "hue_1_lqi"
state_topic: "z2m_deconz/hue_1" state_topic: "z2m_deconz/hue_1"
@@ -87,6 +369,62 @@ sensor:
icon: "mdi:update" icon: "mdi:update"
value_template: "{{ value_json['update']['state'] }}" value_template: "{{ value_json['update']['state'] }}"
- platform: "mqtt"
name: "hue_2_lqi"
state_topic: "z2m_deconz/hue_2"
availability_topic: "z2m_deconz/bridge/state"
value_template: "{{ value_json.linkquality }}"
unit_of_measurement: "lqi"
icon: "mdi:signal"
- platform: "mqtt"
name: "hue_2_update_state"
state_topic: "z2m_deconz/hue_2"
availability_topic: "z2m_deconz/bridge/state"
icon: "mdi:update"
value_template: "{{ value_json['update']['state'] }}"
- platform: "mqtt"
name: "hue_3_lqi"
state_topic: "z2m_deconz/hue_3"
availability_topic: "z2m_deconz/bridge/state"
value_template: "{{ value_json.linkquality }}"
unit_of_measurement: "lqi"
icon: "mdi:signal"
- platform: "mqtt"
name: "hue_3_update_state"
state_topic: "z2m_deconz/hue_3"
availability_topic: "z2m_deconz/bridge/state"
icon: "mdi:update"
value_template: "{{ value_json['update']['state'] }}"
- platform: "mqtt"
name: "hue_4_lqi"
state_topic: "z2m_deconz/hue_4"
availability_topic: "z2m_deconz/bridge/state"
value_template: "{{ value_json.linkquality }}"
unit_of_measurement: "lqi"
icon: "mdi:signal"
- platform: "mqtt"
name: "hue_4_update_state"
state_topic: "z2m_deconz/hue_4"
availability_topic: "z2m_deconz/bridge/state"
icon: "mdi:update"
value_template: "{{ value_json['update']['state'] }}"
- platform: "mqtt"
name: "hue_5_lqi"
state_topic: "z2m_deconz/hue_5"
availability_topic: "z2m_deconz/bridge/state"
value_template: "{{ value_json.linkquality }}"
unit_of_measurement: "lqi"
icon: "mdi:signal"
- platform: "mqtt"
name: "hue_5_update_state"
state_topic: "z2m_deconz/hue_5"
availability_topic: "z2m_deconz/bridge/state"
icon: "mdi:update"
value_template: "{{ value_json['update']['state'] }}"
binary_sensor: binary_sensor:
- platform: "mqtt" - platform: "mqtt"
@@ -103,6 +441,50 @@ binary_sensor:
payload_on: true payload_on: true
payload_off: false payload_off: false
value_template: "{{ value_json.update_available}}" value_template: "{{ value_json.update_available}}"
- platform: "mqtt"
name: "hue_white_3_update_available"
state_topic: "z2m_deconz/hue_white_3"
availability_topic: "z2m_deconz/bridge/state"
payload_on: true
payload_off: false
value_template: "{{ value_json.update_available}}"
- platform: "mqtt"
name: "hue_white_4_update_available"
state_topic: "z2m_deconz/hue_white_4"
availability_topic: "z2m_deconz/bridge/state"
payload_on: true
payload_off: false
value_template: "{{ value_json.update_available}}"
- platform: "mqtt"
name: "hue_ambiance_1_update_available"
state_topic: "z2m_deconz/hue_ambiance_1"
availability_topic: "z2m_deconz/bridge/state"
payload_on: true
payload_off: false
value_template: "{{ value_json.update_available}}"
- platform: "mqtt"
name: "hue_ambiance_2_update_available"
state_topic: "z2m_deconz/hue_ambiance_2"
availability_topic: "z2m_deconz/bridge/state"
payload_on: true
payload_off: false
value_template: "{{ value_json.update_available}}"
- platform: "mqtt"
name: "hue_ambiance_3_update_available"
state_topic: "z2m_deconz/hue_ambiance_3"
availability_topic: "z2m_deconz/bridge/state"
payload_on: true
payload_off: false
value_template: "{{ value_json.update_available}}"
- platform: "mqtt"
name: "hue_ambiance_4_update_available"
state_topic: "z2m_deconz/hue_ambiance_4"
availability_topic: "z2m_deconz/bridge/state"
payload_on: true
payload_off: false
value_template: "{{ value_json.update_available}}"
- platform: "mqtt" - platform: "mqtt"
name: "hue_1_update_available" name: "hue_1_update_available"
state_topic: "z2m_deconz/hue_1" state_topic: "z2m_deconz/hue_1"
@@ -110,3 +492,31 @@ binary_sensor:
payload_on: true payload_on: true
payload_off: false payload_off: false
value_template: "{{ value_json.update_available}}" value_template: "{{ value_json.update_available}}"
- platform: "mqtt"
name: "hue_2_update_available"
state_topic: "z2m_deconz/hue_2"
availability_topic: "z2m_deconz/bridge/state"
payload_on: true
payload_off: false
value_template: "{{ value_json.update_available}}"
- platform: "mqtt"
name: "hue_3_update_available"
state_topic: "z2m_deconz/hue_3"
availability_topic: "z2m_deconz/bridge/state"
payload_on: true
payload_off: false
value_template: "{{ value_json.update_available}}"
- platform: "mqtt"
name: "hue_4_update_available"
state_topic: "z2m_deconz/hue_4"
availability_topic: "z2m_deconz/bridge/state"
payload_on: true
payload_off: false
value_template: "{{ value_json.update_available}}"
- platform: "mqtt"
name: "hue_5_update_available"
state_topic: "z2m_deconz/hue_5"
availability_topic: "z2m_deconz/bridge/state"
payload_on: true
payload_off: false
value_template: "{{ value_json.update_available}}"
@@ -109,7 +109,7 @@ light:
retain: false retain: false
- platform: mqtt - platform: mqtt
name: "light_lohas_1" name: "pc"
state_topic: "tele/light_lohas_1/STATE" state_topic: "tele/light_lohas_1/STATE"
state_value_template: "{{ value_json.POWER }}" state_value_template: "{{ value_json.POWER }}"
command_topic: "cmnd/light_lohas_1/POWER" command_topic: "cmnd/light_lohas_1/POWER"
@@ -366,7 +366,7 @@ sensor:
value_template: "{{ value_json.Wifi.RSSI }}" value_template: "{{ value_json.Wifi.RSSI }}"
- platform: mqtt - platform: mqtt
name: "light_lohas_1_wifi" name: "pc_wifi"
availability_topic: "tele/light_lohas_1/LWT" availability_topic: "tele/light_lohas_1/LWT"
device_class: signal_strength device_class: signal_strength
payload_available: "Online" payload_available: "Online"
@@ -492,7 +492,7 @@ switch:
value_template: "{{ value_json.Fade }}" value_template: "{{ value_json.Fade }}"
- platform: mqtt - platform: mqtt
name: "light_lohas_1_fade" name: "pc_fade"
availability_topic: "tele/light_lohas_1/LWT" availability_topic: "tele/light_lohas_1/LWT"
command_topic: "cmnd/light_lohas_1/FADE" command_topic: "cmnd/light_lohas_1/FADE"
icon: mdi:gradient icon: mdi:gradient
@@ -13,7 +13,7 @@ light:
max_mireds: 500 max_mireds: 500
min_mireds: 150 min_mireds: 150
- platform: "mqtt" - platform: "mqtt"
name: "pc" name: "neo_2"
state_topic: "z2m_deconz/neo_2" state_topic: "z2m_deconz/neo_2"
availability_topic: "z2m_deconz/bridge/state" availability_topic: "z2m_deconz/bridge/state"
brightness: true brightness: true
@@ -1,191 +0,0 @@
light:
- platform: "mqtt"
name: "osram_1"
state_topic: "z2m_deconz/osram_1"
availability_topic: "z2m_deconz/bridge/state"
brightness: true
color_temp: true
xy: false
hs: false
schema: "json"
command_topic: "z2m_deconz/osram_1/set"
brightness_scale: 254
max_mireds: 500
min_mireds: 150
- platform: "mqtt"
name: "osram_2"
state_topic: "z2m_deconz/osram_2"
availability_topic: "z2m_deconz/bridge/state"
brightness: true
color_temp: true
xy: false
hs: false
schema: "json"
command_topic: "z2m_deconz/osram_2/set"
brightness_scale: 254
max_mireds: 500
min_mireds: 150
- platform: "mqtt"
name: "osram_3"
state_topic: "z2m_deconz/osram_3"
availability_topic: "z2m_deconz/bridge/state"
brightness: true
color_temp: true
xy: false
hs: false
schema: "json"
command_topic: "z2m_deconz/osram_3/set"
brightness_scale: 254
max_mireds: 500
min_mireds: 150
- platform: "mqtt"
name: "osram_4"
state_topic: "z2m_deconz/osram_4"
availability_topic: "z2m_deconz/bridge/state"
brightness: true
color_temp: true
xy: false
hs: false
schema: "json"
command_topic: "z2m_deconz/osram_4/set"
brightness_scale: 254
max_mireds: 500
min_mireds: 150
- platform: "mqtt"
name: "osram_5"
state_topic: "z2m_deconz/osram_5"
availability_topic: "z2m_deconz/bridge/state"
brightness: true
color_temp: true
xy: false
hs: false
schema: "json"
command_topic: "z2m_deconz/osram_5/set"
brightness_scale: 254
max_mireds: 500
min_mireds: 150
- platform: "mqtt"
name: "osram_6"
state_topic: "z2m_deconz/osram_6"
availability_topic: "z2m_deconz/bridge/state"
brightness: true
color_temp: true
xy: false
hs: false
schema: "json"
command_topic: "z2m_deconz/osram_6/set"
brightness_scale: 254
max_mireds: 500
min_mireds: 150
- platform: "mqtt"
name: "osram_7"
state_topic: "z2m_deconz/osram_7"
availability_topic: "z2m_deconz/bridge/state"
brightness: true
color_temp: true
xy: false
hs: false
schema: "json"
command_topic: "z2m_deconz/osram_7/set"
brightness_scale: 254
max_mireds: 500
min_mireds: 150
- platform: "mqtt"
name: "osram_8"
state_topic: "z2m_deconz/osram_8"
availability_topic: "z2m_deconz/bridge/state"
brightness: true
color_temp: true
xy: false
hs: false
schema: "json"
command_topic: "z2m_deconz/osram_8/set"
brightness_scale: 254
max_mireds: 500
min_mireds: 150
- platform: "mqtt"
name: "osram_9"
state_topic: "z2m_deconz/osram_9"
availability_topic: "z2m_deconz/bridge/state"
brightness: true
color_temp: true
xy: false
hs: false
schema: "json"
command_topic: "z2m_deconz/osram_9/set"
brightness_scale: 254
max_mireds: 500
min_mireds: 150
sensor:
- platform: "mqtt"
name: "osram_1_lqi"
state_topic: "z2m_deconz/osram_1"
availability_topic: "z2m_deconz/bridge/state"
value_template: "{{ value_json.linkquality }}"
unit_of_measurement: "lqi"
icon: "mdi:signal"
- platform: "mqtt"
name: "osram_2_lqi"
state_topic: "z2m_deconz/osram_2"
availability_topic: "z2m_deconz/bridge/state"
value_template: "{{ value_json.linkquality }}"
unit_of_measurement: "lqi"
icon: "mdi:signal"
- platform: "mqtt"
name: "osram_3_lqi"
state_topic: "z2m_deconz/osram_3"
availability_topic: "z2m_deconz/bridge/state"
value_template: "{{ value_json.linkquality }}"
unit_of_measurement: "lqi"
icon: "mdi:signal"
- platform: "mqtt"
name: "osram_4_lqi"
state_topic: "z2m_deconz/osram_4"
availability_topic: "z2m_deconz/bridge/state"
value_template: "{{ value_json.linkquality }}"
unit_of_measurement: "lqi"
icon: "mdi:signal"
- platform: "mqtt"
name: "osram_5_lqi"
state_topic: "z2m_deconz/osram_5"
availability_topic: "z2m_deconz/bridge/state"
value_template: "{{ value_json.linkquality }}"
unit_of_measurement: "lqi"
icon: "mdi:signal"
- platform: "mqtt"
name: "osram_6_lqi"
state_topic: "z2m_deconz/osram_6"
availability_topic: "z2m_deconz/bridge/state"
value_template: "{{ value_json.linkquality }}"
unit_of_measurement: "lqi"
icon: "mdi:signal"
- platform: "mqtt"
name: "osram_7_lqi"
state_topic: "z2m_deconz/osram_7"
availability_topic: "z2m_deconz/bridge/state"
value_template: "{{ value_json.linkquality }}"
unit_of_measurement: "lqi"
icon: "mdi:signal"
- platform: "mqtt"
name: "osram_8_lqi"
state_topic: "z2m_deconz/osram_8"
availability_topic: "z2m_deconz/bridge/state"
value_template: "{{ value_json.linkquality }}"
unit_of_measurement: "lqi"
icon: "mdi:signal"
- platform: "mqtt"
name: "osram_9_lqi"
state_topic: "z2m_deconz/osram_9"
availability_topic: "z2m_deconz/bridge/state"
value_template: "{{ value_json.linkquality }}"
unit_of_measurement: "lqi"
icon: "mdi:signal"
@@ -5,10 +5,6 @@ automation:
platform: state platform: state
entity_id: entity_id:
# If the lights are listed by groups, turning on 1 light always turns on the others in the group. # If the lights are listed by groups, turning on 1 light always turns on the others in the group.
- light.light_lohas_1
- light.light_lohas_2
- light.light_lohas_3
- light.light_lohas_6
- light.light_le_1 - light.light_le_1
- light.light_le_2 - light.light_le_2
- light.light_le_3 - light.light_le_3