mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-04-19 10:08:18 +00:00
Replace lohas_2 with lohas_3
This commit is contained in:
@@ -80,30 +80,30 @@ mqtt:
|
||||
qos: 1
|
||||
retain: false
|
||||
|
||||
- name: "light_lohas_2"
|
||||
state_topic: "tele/light_lohas_2/STATE"
|
||||
- name: "light_lohas_3"
|
||||
state_topic: "tele/light_lohas_3/STATE"
|
||||
state_value_template: "{{ value_json.POWER }}"
|
||||
command_topic: "cmnd/light_lohas_2/POWER"
|
||||
command_topic: "cmnd/light_lohas_3/POWER"
|
||||
payload_on: "ON"
|
||||
payload_off: "OFF"
|
||||
availability_topic: "tele/light_lohas_2/LWT"
|
||||
availability_topic: "tele/light_lohas_3/LWT"
|
||||
payload_available: "Online"
|
||||
payload_not_available: "Offline"
|
||||
on_command_type: "brightness"
|
||||
brightness_command_topic: "cmnd/light_lohas_2/Dimmer"
|
||||
brightness_state_topic: "tele/light_lohas_2/STATE"
|
||||
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_2/HSBColor"
|
||||
hs_state_topic: "tele/light_lohas_2/STATE"
|
||||
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_2/CT"
|
||||
color_temp_state_topic: "tele/light_lohas_2/STATE"
|
||||
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 }}"
|
||||
qos: 1
|
||||
retain: false
|
||||
effect_command_topic: "cmnd/light_lohas_2/Scheme"
|
||||
effect_state_topic: "tele/light_lohas_2/STATE"
|
||||
effect_command_topic: "cmnd/light_lohas_3/Scheme"
|
||||
effect_state_topic: "tele/light_lohas_3/STATE"
|
||||
effect_value_template: "{{value_json.Scheme}}"
|
||||
effect_list: [0, 1, 2, 3, 4]
|
||||
|
||||
@@ -144,12 +144,12 @@ mqtt:
|
||||
unit_of_measurement: "dBm"
|
||||
value_template: "{{ value_json.Wifi.RSSI }}"
|
||||
|
||||
- name: "light_lohas_2_wifi"
|
||||
availability_topic: "tele/light_lohas_2/LWT"
|
||||
- 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_2/STATE"
|
||||
state_topic: "tele/light_lohas_3/STATE"
|
||||
unit_of_measurement: "dBm"
|
||||
value_template: "{{ value_json.Wifi.RSSI }}"
|
||||
|
||||
@@ -195,14 +195,14 @@ mqtt:
|
||||
state_topic: "tele/light_le_4/STATE"
|
||||
value_template: "{{ value_json.Fade }}"
|
||||
|
||||
- name: "light_lohas_2_fade"
|
||||
availability_topic: "tele/light_lohas_2/LWT"
|
||||
command_topic: "cmnd/light_lohas_2/FADE"
|
||||
- name: "light_lohas_3_fade"
|
||||
availability_topic: "tele/light_lohas_3/LWT"
|
||||
command_topic: "cmnd/light_lohas_3/FADE"
|
||||
icon: mdi:gradient
|
||||
payload_available: "Online"
|
||||
payload_not_available: "Offline"
|
||||
qos: 1
|
||||
state_topic: "tele/light_lohas_2/STATE"
|
||||
state_topic: "tele/light_lohas_3/STATE"
|
||||
value_template: "{{ value_json.Fade }}"
|
||||
|
||||
automation:
|
||||
|
||||
Reference in New Issue
Block a user