esphome:
  on_boot:
    then:
      - light.toggle: test_binary_light

output:
  - platform: gpio
    id: light_test_binary
    pin: 0

light:
  - platform: binary
    id: test_binary_light
    name: Binary Light
    output: light_test_binary
    effects:
      - strobe:
    on_state:
      - logger.log: Binary light state changed
