Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
924 B
1
Indexable
Never
mqtt:
  light:
  - unique_id: "OpenBK7231T_1238CA0D_light"
    name: "obk1238CA0D 64"
    rgb_command_template: "{{ '#%02x%02x%02x0000' | format(red, green, blue)}}"
    rgb_value_template: "{{ value[1:3] | int(base=16) }},{{ value[3:5] | int(base=16) }},{{ value[5:7] | int(base=16) }}"
    rgb_state_topic: "hallway_light2/led_basecolor_rgb/get"
    rgb_command_topic: "cmnd/hallway_light2/led_basecolor_rgb"
    command_topic: "cmnd/hallway_light2/led_enableAll"
    state_topic: "hallway_light2/led_enableAll/get"
    availability_topic: "hallway_light2/connected"
    payload_on: 1
    payload_off: 0
    brightness_command_topic: "cmnd/hallway_light2/led_dimmer"
    brightness_scale: 100
    #brightness_value_template: "{{ value }}"
    color_temp_command_topic: "cmnd/hallway_light2/led_temperature"
    color_temp_state_topic: "hallway_light2/led_temperature/get"
    #color_temp_value_template: "{{ value }}"