Multiple components in my config.yaml file that are named "sensor"

I wanted to add the plex component as wel as several other components to my configuration.yaml file. The problem is I don’t know the correct syntax. For example:
There’s already an entry on the defaul config.yaml file that uses “sensor”. Additionally plex (and several others) also use the “sensor:”. How do I add multiple different “sensor:” components / configurations?

Sensor accepts a list.

sensor:

  - platform: fitbit
    monitored_resources:
      - "activities/floors"
      - "activities/steps"

  - platform: time_date
    display_options:  
    - 'time'
    - 'date'
    - 'date_time'

Awesome. Thanks for the info. So including the default sensor it should look something like this…

sensor:
  - platform: yr

  - platform: fitbit
    monitored_resources:
      - "activities/floors"
      - "activities/steps"

  - platform: time_date
    display_options:  
    - 'time'
    - 'date'
    - 'date_time'[/details]
1 Like