Binary litght effects

Has anyone got a basic blinking light effect working with home assistant?

The light works and the effect shows up in the UI in home assistant but selecting the effect does nothing:

light:
  - platform: binary
    name: "MB Red LED"
    output: mb_red_led
    effects:
      - strobe:
          name: blink_slow
          colors:
            - state: true
              duration: 1s
            - state: false
              duration: 1s

output:
  - platform: gpio
    id: mb_red_led
    pin:
      number: GPIO26

Edit: never mind. There is an open issue.

The binary light issue still hasn’t been resolved.

However, for anyone else who comes looking for solution I found a workaround by changing the light platform to monochromatic. This also meant that I had to change the output platform to esp8266_pwm (or ledc for ESP32).

light:
  - platform: monochromatic
    name: "MB Red LED"
    output: mb_red_led
    effects:
      - strobe:
          name: blink_slow
          colors:
            - state: true
              duration: 1s
            - state: false
              duration: 1s

output:
  - platform: esp8266_pwm
    id: mb_red_led
    pin:
      number: GPIO26
3 Likes