SCAN_INTERVAL of each entity

I develop an integration and I know I can set the SCAN_INTERVAL for each platform, but I want to set each entity separately by using configuration.yaml, if there is no way, at least I hope I can set each platform separately through configuration.yaml. What can I do?

If I add it like below, the docker will crash

lw_gpio:
  interval_seconds: 1
  binary_sensor:
    - model: UP6000
      name: Touch_sensor
      pin: 16
  sensor:
    - model: UP6000
      type: DHT20
      name: DHT20
      pin: 3
  switch:
    - model: UP6000
      name: R_switch
      pin: 37
    - model: UP6000
      name: Y_switch
      pin: 31
    - model: UP6000
      name: G_switch
      pin: 29

If I add it like below, it doesn’t work

lw_gpio:
  binary_sensor:
    - model: UP6000
      name: Touch_sensor
      pin: 16
      scan_interval: 1
  sensor:
    - model: UP6000
      type: DHT20
      name: DHT20
      pin: 3
      scan_interval: 3
  switch:
    - model: UP6000
      name: R_switch
      pin: 37
    - model: UP6000
      name: Y_switch
      pin: 31
    - model: UP6000
      name: G_switch
      pin: 29

I modify my integration and the configuration like below, and now, I can adjust the scan_interval in configuration.yaml, it can work. But if the entity and platform is same, even though the other parameters are different, the scan_interval will be same and based on the shortest scan_interval.
For example, the scan_interval of R_switch, G_switch, and Y_switch will be 1, is there any method to set the configuration to adjust the scan_interval separately or can I disable polling through YAML?

binary_sensor:
  - platform: lw_gpio
    model: UP6000
    name: Touch_sensor
    pin: 16
    scan_interval: 10
sensor:
  - platform: lw_gpio
    model: UP6000
    type: DHT20
    name: DHT20
    pin: 3
    scan_interval: 5
switch:
  - platform: lw_gpio
    model: UP6000
    name: R_switch
    pin: 37
    scan_interval: 1
  - platform: lw_gpio
    model: UP6000
    name: Y_switch
    pin: 31
    scan_interval: 100
  - platform: lw_gpio
    model: UP6000
    name: G_switch
    pin: 29
    scan_interval: 100