|
|
|
@@ -1,28 +1,28 @@
|
|
|
|
|
light:
|
|
|
|
|
- platform: mqtt
|
|
|
|
|
name: "light_hama_1"
|
|
|
|
|
state_topic: "stat/light_hama_1/RESULT"
|
|
|
|
|
state_value_template: "{{ value_json.POWER }}"
|
|
|
|
|
command_topic: "cmnd/light_hama_1/POWER"
|
|
|
|
|
payload_on: "ON"
|
|
|
|
|
payload_off: "OFF"
|
|
|
|
|
availability_topic: "tele/light_hama_1/LWT"
|
|
|
|
|
payload_available: "Online"
|
|
|
|
|
payload_not_available: "Offline"
|
|
|
|
|
on_command_type: "brightness"
|
|
|
|
|
brightness_command_topic: "cmnd/light_hama_1/Dimmer"
|
|
|
|
|
brightness_state_topic: "tele/light_hama_1/STATE"
|
|
|
|
|
brightness_scale: 100
|
|
|
|
|
brightness_value_template: "{{ value_json.Dimmer }}"
|
|
|
|
|
color_temp_command_topic: "cmnd/light_hama_1/CT"
|
|
|
|
|
color_temp_state_topic: "tele/light_hama_1/STATE"
|
|
|
|
|
color_temp_value_template: "{{ value_json.CT }}"
|
|
|
|
|
rgb_command_topic: "cmnd/light_hama_1/Color"
|
|
|
|
|
rgb_state_topic: "tele/light_hama_1/STATE"
|
|
|
|
|
rgb_command_template: "{{ '%02X%02X%02X=' | format(red, green, blue)}}"
|
|
|
|
|
rgb_value_template: "{{ (value_json.Color[0]|int(base=16),value_json.Color[1]|int(base=16),value_json.Color[2]|int(base=16)) | join(',')}}"
|
|
|
|
|
qos: 1
|
|
|
|
|
retain: false
|
|
|
|
|
# - platform: mqtt
|
|
|
|
|
# name: "light_hama_1"
|
|
|
|
|
# state_topic: "stat/light_hama_1/RESULT"
|
|
|
|
|
# state_value_template: "{{ value_json.POWER }}"
|
|
|
|
|
# command_topic: "cmnd/light_hama_1/POWER"
|
|
|
|
|
# payload_on: "ON"
|
|
|
|
|
# payload_off: "OFF"
|
|
|
|
|
# availability_topic: "tele/light_hama_1/LWT"
|
|
|
|
|
# payload_available: "Online"
|
|
|
|
|
# payload_not_available: "Offline"
|
|
|
|
|
# on_command_type: "brightness"
|
|
|
|
|
# brightness_command_topic: "cmnd/light_hama_1/Dimmer"
|
|
|
|
|
# brightness_state_topic: "tele/light_hama_1/STATE"
|
|
|
|
|
# brightness_scale: 100
|
|
|
|
|
# brightness_value_template: "{{ value_json.Dimmer }}"
|
|
|
|
|
# color_temp_command_topic: "cmnd/light_hama_1/CT"
|
|
|
|
|
# color_temp_state_topic: "tele/light_hama_1/STATE"
|
|
|
|
|
# color_temp_value_template: "{{ value_json.CT }}"
|
|
|
|
|
# rgb_command_topic: "cmnd/light_hama_1/Color"
|
|
|
|
|
# rgb_state_topic: "tele/light_hama_1/STATE"
|
|
|
|
|
# rgb_command_template: "{{ '%02X%02X%02X=' | format(red, green, blue)}}"
|
|
|
|
|
# rgb_value_template: "{{ (value_json.Color[0]|int(base=16),value_json.Color[1]|int(base=16),value_json.Color[2]|int(base=16)) | join(',')}}"
|
|
|
|
|
# qos: 1
|
|
|
|
|
# retain: false
|
|
|
|
|
|
|
|
|
|
- platform: mqtt
|
|
|
|
|
name: "light_le_1"
|
|
|
|
@@ -129,68 +129,68 @@ light:
|
|
|
|
|
color_temp_command_topic: "cmnd/light_lohas_2/CT"
|
|
|
|
|
color_temp_state_topic: "tele/light_lohas_2/STATE"
|
|
|
|
|
color_temp_value_template: "{{ value_json.CT }}"
|
|
|
|
|
rgb_command_topic: "cmnd/light_lohas_2/Color"
|
|
|
|
|
rgb_state_topic: "tele/light_lohas_2/STATE"
|
|
|
|
|
rgb_command_template: "{{ '%02X%02X%02X=' | format(red, green, blue)}}"
|
|
|
|
|
rgb_value_template: "{{ (value_json.Color[0:2]|int(base=16),value_json.Color[2:4]|int(base=16),value_json.Color[4:6]|int(base=16)) | join(',')}}"
|
|
|
|
|
# rgb_command_topic: "cmnd/light_lohas_2/Color"
|
|
|
|
|
# rgb_state_topic: "tele/light_lohas_2/STATE"
|
|
|
|
|
# rgb_command_template: "{{ '%02X%02X%02X' | format(red, green, blue) }}"
|
|
|
|
|
# rgb_value_template: "{{ (value_json.Color[0:2]|int(base=16),value_json.Color[2:4]|int(base=16),value_json.Color[4:6]|int(base=16)) | join(',')}}"
|
|
|
|
|
qos: 1
|
|
|
|
|
retain: false
|
|
|
|
|
|
|
|
|
|
- platform: mqtt
|
|
|
|
|
name: "light_lohas_3"
|
|
|
|
|
state_topic: "tele/light_lohas_3/STATE"
|
|
|
|
|
state_value_template: "{{ value_json.POWER }}"
|
|
|
|
|
command_topic: "cmnd/light_lohas_3/POWER"
|
|
|
|
|
payload_on: "ON"
|
|
|
|
|
payload_off: "OFF"
|
|
|
|
|
availability_topic: "tele/light_lohas_3/LWT"
|
|
|
|
|
payload_available: "Online"
|
|
|
|
|
payload_not_available: "Offline"
|
|
|
|
|
on_command_type: "brightness"
|
|
|
|
|
brightness_command_topic: "cmnd/light_lohas_3/Dimmer"
|
|
|
|
|
brightness_state_topic: "tele/light_lohas_3/STATE"
|
|
|
|
|
brightness_scale: 100
|
|
|
|
|
brightness_value_template: "{{ value_json.Dimmer }}"
|
|
|
|
|
hs_command_topic: "cmnd/light_lohas_3/HSBColor"
|
|
|
|
|
hs_state_topic: "tele/light_lohas_3/STATE"
|
|
|
|
|
hs_value_template: "{{ value_json.HSBColor.split(',')[0:2]|join(',') }}"
|
|
|
|
|
color_temp_command_topic: "cmnd/light_lohas_3/CT"
|
|
|
|
|
color_temp_state_topic: "tele/light_lohas_3/STATE"
|
|
|
|
|
color_temp_value_template: "{{ value_json.CT }}"
|
|
|
|
|
rgb_command_topic: "cmnd/light_lohas_3/Color"
|
|
|
|
|
rgb_state_topic: "tele/light_lohas_3/STATE"
|
|
|
|
|
rgb_command_template: "{{ '%02X%02X%02X=' | format(red, green, blue)}}"
|
|
|
|
|
rgb_value_template: "{{ (value_json.Color[0:2]|int(base=16),value_json.Color[2:4]|int(base=16),value_json.Color[4:6]|int(base=16)) | join(',')}}"
|
|
|
|
|
qos: 1
|
|
|
|
|
retain: false
|
|
|
|
|
# - platform: mqtt
|
|
|
|
|
# name: "light_lohas_3"
|
|
|
|
|
# state_topic: "tele/light_lohas_3/STATE"
|
|
|
|
|
# state_value_template: "{{ value_json.POWER }}"
|
|
|
|
|
# command_topic: "cmnd/light_lohas_3/POWER"
|
|
|
|
|
# payload_on: "ON"
|
|
|
|
|
# payload_off: "OFF"
|
|
|
|
|
# availability_topic: "tele/light_lohas_3/LWT"
|
|
|
|
|
# payload_available: "Online"
|
|
|
|
|
# payload_not_available: "Offline"
|
|
|
|
|
# on_command_type: "brightness"
|
|
|
|
|
# brightness_command_topic: "cmnd/light_lohas_3/Dimmer"
|
|
|
|
|
# brightness_state_topic: "tele/light_lohas_3/STATE"
|
|
|
|
|
# brightness_scale: 100
|
|
|
|
|
# brightness_value_template: "{{ value_json.Dimmer }}"
|
|
|
|
|
# hs_command_topic: "cmnd/light_lohas_3/HSBColor"
|
|
|
|
|
# hs_state_topic: "tele/light_lohas_3/STATE"
|
|
|
|
|
# hs_value_template: "{{ value_json.HSBColor.split(',')[0:2]|join(',') }}"
|
|
|
|
|
# color_temp_command_topic: "cmnd/light_lohas_3/CT"
|
|
|
|
|
# color_temp_state_topic: "tele/light_lohas_3/STATE"
|
|
|
|
|
# color_temp_value_template: "{{ value_json.CT }}"
|
|
|
|
|
# rgb_command_topic: "cmnd/light_lohas_3/Color"
|
|
|
|
|
# rgb_state_topic: "tele/light_lohas_3/STATE"
|
|
|
|
|
# rgb_command_template: "{{ '%02X%02X%02X=' | format(red, green, blue)}}"
|
|
|
|
|
# rgb_value_template: "{{ (value_json.Color[0:2]|int(base=16),value_json.Color[2:4]|int(base=16),value_json.Color[4:6]|int(base=16)) | join(',')}}"
|
|
|
|
|
# qos: 1
|
|
|
|
|
# retain: false
|
|
|
|
|
|
|
|
|
|
- platform: mqtt
|
|
|
|
|
name: "light_lohas_4"
|
|
|
|
|
state_topic: "tele/light_lohas_4/STATE"
|
|
|
|
|
state_value_template: "{{ value_json.POWER }}"
|
|
|
|
|
command_topic: "cmnd/light_lohas_4/POWER"
|
|
|
|
|
payload_on: "ON"
|
|
|
|
|
payload_off: "OFF"
|
|
|
|
|
availability_topic: "tele/light_lohas_4/LWT"
|
|
|
|
|
payload_available: "Online"
|
|
|
|
|
payload_not_available: "Offline"
|
|
|
|
|
on_command_type: "brightness"
|
|
|
|
|
brightness_command_topic: "cmnd/light_lohas_4/Dimmer"
|
|
|
|
|
brightness_state_topic: "tele/light_lohas_4/STATE"
|
|
|
|
|
brightness_scale: 100
|
|
|
|
|
brightness_value_template: "{{ value_json.Dimmer }}"
|
|
|
|
|
hs_command_topic: "cmnd/light_lohas_4/HSBColor"
|
|
|
|
|
hs_state_topic: "tele/light_lohas_4/STATE"
|
|
|
|
|
hs_value_template: "{{ value_json.HSBColor.split(',')[0:2]|join(',') }}"
|
|
|
|
|
color_temp_command_topic: "cmnd/light_lohas_4/CT"
|
|
|
|
|
color_temp_state_topic: "tele/light_lohas_4/STATE"
|
|
|
|
|
color_temp_value_template: "{{ value_json.CT }}"
|
|
|
|
|
rgb_command_topic: "cmnd/light_lohas_4/Color"
|
|
|
|
|
rgb_state_topic: "tele/light_lohas_4/STATE"
|
|
|
|
|
rgb_command_template: "{{ '%02X%02X%02X=' | format(red, green, blue)}}"
|
|
|
|
|
rgb_value_template: "{{ (value_json.Color[0:2]|int(base=16),value_json.Color[2:4]|int(base=16),value_json.Color[4:6]|int(base=16)) | join(',')}}"
|
|
|
|
|
qos: 1
|
|
|
|
|
retain: false
|
|
|
|
|
# - platform: mqtt
|
|
|
|
|
# name: "light_lohas_4"
|
|
|
|
|
# state_topic: "tele/light_lohas_4/STATE"
|
|
|
|
|
# state_value_template: "{{ value_json.POWER }}"
|
|
|
|
|
# command_topic: "cmnd/light_lohas_4/POWER"
|
|
|
|
|
# payload_on: "ON"
|
|
|
|
|
# payload_off: "OFF"
|
|
|
|
|
# availability_topic: "tele/light_lohas_4/LWT"
|
|
|
|
|
# payload_available: "Online"
|
|
|
|
|
# payload_not_available: "Offline"
|
|
|
|
|
# on_command_type: "brightness"
|
|
|
|
|
# brightness_command_topic: "cmnd/light_lohas_4/Dimmer"
|
|
|
|
|
# brightness_state_topic: "tele/light_lohas_4/STATE"
|
|
|
|
|
# brightness_scale: 100
|
|
|
|
|
# brightness_value_template: "{{ value_json.Dimmer }}"
|
|
|
|
|
# hs_command_topic: "cmnd/light_lohas_4/HSBColor"
|
|
|
|
|
# hs_state_topic: "tele/light_lohas_4/STATE"
|
|
|
|
|
# hs_value_template: "{{ value_json.HSBColor.split(',')[0:2]|join(',') }}"
|
|
|
|
|
# color_temp_command_topic: "cmnd/light_lohas_4/CT"
|
|
|
|
|
# color_temp_state_topic: "tele/light_lohas_4/STATE"
|
|
|
|
|
# color_temp_value_template: "{{ value_json.CT }}"
|
|
|
|
|
# rgb_command_topic: "cmnd/light_lohas_4/Color"
|
|
|
|
|
# rgb_state_topic: "tele/light_lohas_4/STATE"
|
|
|
|
|
# rgb_command_template: "{{ '%02X%02X%02X=' | format(red, green, blue)}}"
|
|
|
|
|
# rgb_value_template: "{{ (value_json.Color[0:2]|int(base=16),value_json.Color[2:4]|int(base=16),value_json.Color[4:6]|int(base=16)) | join(',')}}"
|
|
|
|
|
# qos: 1
|
|
|
|
|
# retain: false
|
|
|
|
|
|
|
|
|
|
# - platform: mqtt
|
|
|
|
|
# name: "light_lohas_5"
|
|
|
|
@@ -240,35 +240,10 @@ light:
|
|
|
|
|
color_temp_command_topic: "cmnd/light_lohas_6/CT"
|
|
|
|
|
color_temp_state_topic: "tele/light_lohas_6/STATE"
|
|
|
|
|
color_temp_value_template: "{{ value_json.CT }}"
|
|
|
|
|
rgb_command_topic: "cmnd/light_lohas_6/Color"
|
|
|
|
|
rgb_state_topic: "tele/light_lohas_6/STATE"
|
|
|
|
|
rgb_command_template: "{{ '%02X%02X%02X=' | format(red, green, blue)}}"
|
|
|
|
|
rgb_value_template: "{{ (value_json.Color[0:2]|int(base=16),value_json.Color[2:4]|int(base=16),value_json.Color[4:6]|int(base=16)) | join(',')}}"
|
|
|
|
|
qos: 1
|
|
|
|
|
retain: false
|
|
|
|
|
|
|
|
|
|
- platform: mqtt
|
|
|
|
|
name: "light_avatar_small_1"
|
|
|
|
|
availability_topic: "tele/light_avatar_small_1/LWT"
|
|
|
|
|
command_topic: "cmnd/light_avatar_small_1/POWER"
|
|
|
|
|
state_topic: "tele/light_avatar_small_1/STATE"
|
|
|
|
|
state_value_template: "{{ value_json.POWER }}"
|
|
|
|
|
brightness_command_topic: "cmnd/light_avatar_small_1/Dimmer"
|
|
|
|
|
brightness_state_topic: "tele/light_avatar_small_1/STATE"
|
|
|
|
|
brightness_scale: 100
|
|
|
|
|
brightness_value_template: "{{ value_json.Dimmer }}"
|
|
|
|
|
on_command_type: "brightness"
|
|
|
|
|
white_value_command_topic: "cmnd/light_avatar_small_1/WHITE"
|
|
|
|
|
white_value_scale: 100
|
|
|
|
|
white_value_state_topic: "tele/light_avatar_small_1/STATE"
|
|
|
|
|
white_value_template: "{{ value_json.White }}"
|
|
|
|
|
rgb_command_topic: "cmnd/light_avatar_small_1/Color"
|
|
|
|
|
rgb_state_topic: "tele/light_avatar_small_1/STATE"
|
|
|
|
|
rgb_value_template: "{{ value_json.Color.split(',')[0:3]|join(',') }}"
|
|
|
|
|
payload_on: "ON"
|
|
|
|
|
payload_off: "OFF"
|
|
|
|
|
payload_available: "Online"
|
|
|
|
|
payload_not_available: "Offline"
|
|
|
|
|
# rgb_command_topic: "cmnd/light_lohas_6/Color"
|
|
|
|
|
# rgb_state_topic: "tele/light_lohas_6/STATE"
|
|
|
|
|
# rgb_command_template: "{{ '%02X%02X%02X=' | format(red, green, blue)}}"
|
|
|
|
|
# rgb_value_template: "{{ (value_json.Color[0:2]|int(base=16),value_json.Color[2:4]|int(base=16),value_json.Color[4:6]|int(base=16)) | join(',')}}"
|
|
|
|
|
qos: 1
|
|
|
|
|
retain: false
|
|
|
|
|
|
|
|
|
@@ -287,15 +262,15 @@ light:
|
|
|
|
|
min_mireds: 150
|
|
|
|
|
|
|
|
|
|
sensor:
|
|
|
|
|
- platform: mqtt
|
|
|
|
|
name: "light_hama_1_wifi"
|
|
|
|
|
availability_topic: "tele/light_hama_1/LWT"
|
|
|
|
|
device_class: signal_strength
|
|
|
|
|
payload_available: "Online"
|
|
|
|
|
payload_not_available: "Offline"
|
|
|
|
|
state_topic: "tele/light_hama_1/STATE"
|
|
|
|
|
unit_of_measurement: "%"
|
|
|
|
|
value_template: "{{ value_json.Wifi.RSSI }}"
|
|
|
|
|
# - platform: mqtt
|
|
|
|
|
# name: "light_hama_1_wifi"
|
|
|
|
|
# availability_topic: "tele/light_hama_1/LWT"
|
|
|
|
|
# device_class: signal_strength
|
|
|
|
|
# payload_available: "Online"
|
|
|
|
|
# payload_not_available: "Offline"
|
|
|
|
|
# state_topic: "tele/light_hama_1/STATE"
|
|
|
|
|
# unit_of_measurement: "%"
|
|
|
|
|
# value_template: "{{ value_json.Wifi.RSSI }}"
|
|
|
|
|
|
|
|
|
|
- platform: mqtt
|
|
|
|
|
name: "light_le_1_wifi"
|
|
|
|
@@ -347,25 +322,25 @@ sensor:
|
|
|
|
|
unit_of_measurement: "%"
|
|
|
|
|
value_template: "{{ value_json.Wifi.RSSI }}"
|
|
|
|
|
|
|
|
|
|
- platform: mqtt
|
|
|
|
|
name: "light_lohas_3_wifi"
|
|
|
|
|
availability_topic: "tele/light_lohas_3/LWT"
|
|
|
|
|
device_class: signal_strength
|
|
|
|
|
payload_available: "Online"
|
|
|
|
|
payload_not_available: "Offline"
|
|
|
|
|
state_topic: "tele/light_lohas_3/STATE"
|
|
|
|
|
unit_of_measurement: "%"
|
|
|
|
|
value_template: "{{ value_json.Wifi.RSSI }}"
|
|
|
|
|
# - platform: mqtt
|
|
|
|
|
# name: "light_lohas_3_wifi"
|
|
|
|
|
# availability_topic: "tele/light_lohas_3/LWT"
|
|
|
|
|
# device_class: signal_strength
|
|
|
|
|
# payload_available: "Online"
|
|
|
|
|
# payload_not_available: "Offline"
|
|
|
|
|
# state_topic: "tele/light_lohas_3/STATE"
|
|
|
|
|
# unit_of_measurement: "%"
|
|
|
|
|
# value_template: "{{ value_json.Wifi.RSSI }}"
|
|
|
|
|
|
|
|
|
|
- platform: mqtt
|
|
|
|
|
name: "light_lohas_4_wifi"
|
|
|
|
|
availability_topic: "tele/light_lohas_4/LWT"
|
|
|
|
|
device_class: signal_strength
|
|
|
|
|
payload_available: "Online"
|
|
|
|
|
payload_not_available: "Offline"
|
|
|
|
|
state_topic: "tele/light_lohas_4/STATE"
|
|
|
|
|
unit_of_measurement: "%"
|
|
|
|
|
value_template: "{{ value_json.Wifi.RSSI }}"
|
|
|
|
|
# - platform: mqtt
|
|
|
|
|
# name: "light_lohas_4_wifi"
|
|
|
|
|
# availability_topic: "tele/light_lohas_4/LWT"
|
|
|
|
|
# device_class: signal_strength
|
|
|
|
|
# payload_available: "Online"
|
|
|
|
|
# payload_not_available: "Offline"
|
|
|
|
|
# state_topic: "tele/light_lohas_4/STATE"
|
|
|
|
|
# unit_of_measurement: "%"
|
|
|
|
|
# value_template: "{{ value_json.Wifi.RSSI }}"
|
|
|
|
|
|
|
|
|
|
- platform: mqtt
|
|
|
|
|
name: "light_lohas_6_wifi"
|
|
|
|
@@ -377,16 +352,6 @@ sensor:
|
|
|
|
|
unit_of_measurement: "%"
|
|
|
|
|
value_template: "{{ value_json.Wifi.RSSI }}"
|
|
|
|
|
|
|
|
|
|
- platform: mqtt
|
|
|
|
|
name: "light_avatar_small_1_wifi"
|
|
|
|
|
availability_topic: "tele/light_avatar_small_1/LWT"
|
|
|
|
|
device_class: signal_strength
|
|
|
|
|
payload_available: "Online"
|
|
|
|
|
payload_not_available: "Offline"
|
|
|
|
|
state_topic: "tele/light_avatar_small_1/STATE"
|
|
|
|
|
unit_of_measurement: "%"
|
|
|
|
|
value_template: "{{ value_json.Wifi.RSSI }}"
|
|
|
|
|
|
|
|
|
|
- platform: "mqtt"
|
|
|
|
|
name: "ledvance_1_lqi"
|
|
|
|
|
state_topic: "z2m_deconz/ledvance_1"
|
|
|
|
@@ -398,16 +363,16 @@ sensor:
|
|
|
|
|
## Switch
|
|
|
|
|
|
|
|
|
|
switch:
|
|
|
|
|
- platform: mqtt
|
|
|
|
|
name: "light_hama_1_fade"
|
|
|
|
|
availability_topic: "tele/light_hama_1/LWT"
|
|
|
|
|
command_topic: "cmnd/light_hama_1/FADE"
|
|
|
|
|
icon: mdi:gradient
|
|
|
|
|
payload_available: "Online"
|
|
|
|
|
payload_not_available: "Offline"
|
|
|
|
|
qos: 1
|
|
|
|
|
state_topic: "stat/light_hama_1/RESULT"
|
|
|
|
|
value_template: "{{ value_json.Fade }}"
|
|
|
|
|
# - platform: mqtt
|
|
|
|
|
# name: "light_hama_1_fade"
|
|
|
|
|
# availability_topic: "tele/light_hama_1/LWT"
|
|
|
|
|
# command_topic: "cmnd/light_hama_1/FADE"
|
|
|
|
|
# icon: mdi:gradient
|
|
|
|
|
# payload_available: "Online"
|
|
|
|
|
# payload_not_available: "Offline"
|
|
|
|
|
# qos: 1
|
|
|
|
|
# state_topic: "stat/light_hama_1/RESULT"
|
|
|
|
|
# value_template: "{{ value_json.Fade }}"
|
|
|
|
|
|
|
|
|
|
- platform: mqtt
|
|
|
|
|
name: "light_le_1_fade"
|
|
|
|
@@ -475,16 +440,16 @@ switch:
|
|
|
|
|
state_topic: "stat/light_lohas_3/RESULT"
|
|
|
|
|
value_template: "{{ value_json.Fade }}"
|
|
|
|
|
|
|
|
|
|
- platform: mqtt
|
|
|
|
|
name: "light_lohas_4_fade"
|
|
|
|
|
availability_topic: "tele/light_lohas_4/LWT"
|
|
|
|
|
command_topic: "cmnd/light_lohas_4/FADE"
|
|
|
|
|
icon: mdi:gradient
|
|
|
|
|
payload_available: "Online"
|
|
|
|
|
payload_not_available: "Offline"
|
|
|
|
|
qos: 1
|
|
|
|
|
state_topic: "stat/light_lohas_4/RESULT"
|
|
|
|
|
value_template: "{{ value_json.Fade }}"
|
|
|
|
|
# - platform: mqtt
|
|
|
|
|
# name: "light_lohas_4_fade"
|
|
|
|
|
# availability_topic: "tele/light_lohas_4/LWT"
|
|
|
|
|
# command_topic: "cmnd/light_lohas_4/FADE"
|
|
|
|
|
# icon: mdi:gradient
|
|
|
|
|
# payload_available: "Online"
|
|
|
|
|
# payload_not_available: "Offline"
|
|
|
|
|
# qos: 1
|
|
|
|
|
# state_topic: "stat/light_lohas_4/RESULT"
|
|
|
|
|
# value_template: "{{ value_json.Fade }}"
|
|
|
|
|
|
|
|
|
|
- platform: mqtt
|
|
|
|
|
name: "light_lohas_6_fade"
|
|
|
|
@@ -497,17 +462,6 @@ switch:
|
|
|
|
|
state_topic: "stat/light_lohas_6/RESULT"
|
|
|
|
|
value_template: "{{ value_json.Fade }}"
|
|
|
|
|
|
|
|
|
|
- platform: mqtt
|
|
|
|
|
name: "light_avatar_small_1_fade"
|
|
|
|
|
availability_topic: "tele/light_avatar_small_1/LWT"
|
|
|
|
|
command_topic: "cmnd/light_avatar_small_1/FADE"
|
|
|
|
|
icon: mdi:gradient
|
|
|
|
|
payload_available: "Online"
|
|
|
|
|
payload_not_available: "Offline"
|
|
|
|
|
qos: 1
|
|
|
|
|
state_topic: "stat/light_avatar_small_1/RESULT"
|
|
|
|
|
value_template: "{{ value_json.Fade }}"
|
|
|
|
|
|
|
|
|
|
automation:
|
|
|
|
|
- alias: Lighting · Sync Tasmota states on start-up
|
|
|
|
|
initial_state: true
|
|
|
|
|