i2c:
  - id: i2c_as7341
    scl: ${scl_pin}
    sda: ${sda_pin}

sensor:
  - platform: as7341
    update_interval: 15s
    gain: X8
    atime: 120
    astep: 99
    f1:
      name: F1
    f2:
      name: F2
    f3:
      name: F3
    f4:
      name: F4
    f5:
      name: F5
    f6:
      name: F6
    f7:
      name: F7
    f8:
      name: F8
    clear:
      name: Clear
    nir:
      name: NIR
