Light platform: monochromatic, "invalid option" for on_turn_on

I have 3 ledstrips running of a power supply that can only really power 2. That’s ok, they never ever all need to be on at the same time, as one is an internal strip inside a cabinet for working on cables.
I’d like my ESP to make it fully impossible to have strips with id strip1 and strip3 be on when strip2 is on.

Problem is i’m on 114.5 and it claims on_turn_on is an invalid option for platform: monochromatic.

here’s my YAML:



esphome:
  name: kast_esp
  platform: ESP32
  board: nodemcu-32s

wifi:
  ssid: 
  password:

captive_portal:

# Enable logging
logger:

# Enable Home Assistant API
api:

ota:

dallas:
  - pin: GPIO18
  
switch:
  - platform: gpio
    name: "Q1_Onboard light"
    pin: 2
    
binary_sensor:
  - platform: gpio
    pin:
      number: GPIO32
      mode: INPUT_PULLUP
    name: "Main Button"
    id: main_button
    filters:
      - invert:
    on_click:
    - min_length: 50ms
      max_length: 350ms
      then:
        - light.toggle: strip1
        - light.toggle: strip3
        - light.turn_off: strip2
    
output:
  - platform: ledc
    pin: 16
    frequency: 120000Hz
    id: LED_gpio_16
  - platform: ledc
    pin: 17
    frequency: 120000Hz
    id: LED_gpio_17
  - platform: ledc
    pin: 5
    frequency: 120000Hz
    id: LED_gpio_5
    
light:
  - platform: monochromatic
    id: strip1
    name: "Bureau Ledstrip"
    default_transition_length: 3s
    output: LED_gpio_16
  - platform: monochromatic
    id: strip2
    name: "Kast Intern Ledstrip"
    default_transition_length: 1s
    output: LED_gpio_17
    #below line is claimed an invalid option.
    on_turn_on:
      - light.turn_off: strip1
      - light.turn_off: strip3
  - platform: monochromatic
    name: "Dressing ledstrip"
    id: strip3
    default_transition_length: 3s
    output: LED_gpio_5
    
    
sensor:
  - platform: dallas
    index: 0
    name: "Q1_tempsensor"

I assume you meant 1.14.5.

Try updating to 1.15.3.

Hah, that fixed it! I thought this had come in last year already! Thanks tom.