Created
November 15, 2020 10:29
-
-
Save bessarabov/a1fc675f087f344f70734b0b45dd12c4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
light: | |
- platform: mqtt | |
name: "BW-LT11" | |
state_topic: "stat/BW-LT11/RESULT" | |
state_value_template: "{{value_json.POWER}}" | |
command_topic: "cmnd/BW-LT11/POWER" | |
brightness_state_topic: "stat/BW-LT11/RESULT" | |
brightness_value_template: "{{value_json.Dimmer}}" | |
brightness_scale: 100 | |
brightness_command_topic: "cmnd/BW-LT11/Dimmer" | |
rgb_state_topic: "stat/BW-LT11/RESULT" | |
rgb_value_template: "{{value_json.Color.split(',')[0:3]|join(',')}}" | |
rgb_command_topic: "cmnd/BW-LT11/Color2" | |
white_value_state_topic: "stat/BW-LT11/RESULT" | |
white_value_scale: 100 | |
white_value_template: "{{ value_json.Channel[3] }}" | |
white_value_command_topic: "cmnd/BW-LT11/white" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment