The example_sensor integration does not support configuration via YAML file

Hi all,

I’ve setup the HA debug environment, when I was trying to add an example integration, it failed, the example is from repo example-custom-config/custom_components at master · home-assistant/example-custom-config · GitHub could anyone help us out? thanks very much.

Please reference this

sensor:
  - platform: example_sensor

Thank you Liquid, I didn’t noticed the readme in subdirectory.