How can I put multiple values in state_on data?

This is part of my yaml file (home assistant add-on ESPHOME)


  - platform: rs485
    name: "room3"
    device:
      offset: 0
      data: [0x56, 0x14, 0x91, 0xd7, 0x92]
    state_on:
      offset: 5
      data: [0x01]
    state_off:
      offset: 5
      data: [0x00]

but in my case my light is state_off when ( 0x00 or 0x02 or 0x03)
so I want to put data likes

  - platform: rs485
    name: "room3"
    device:
      offset: 0
      data: [0x56, 0x14, 0x91, 0xd7, 0x92]
    state_on:
      offset: 5
      data: [0x01]
    state_off:
      offset: 5
      data: [0x00] or [0x02] or [0x03]

what can i do?

I cannot find that platform in the docs.

i added esphome(rs485) add-on in https://github.com/reflican/hassio

Perhaps ask there then.