Home Assistant will be able to automatically discover many devices and services available on your network if you have the discovery component enabled (the default setting).
See the components overview page to find installation instructions for your devices and services. If you can’t find support for your favorite device or service, consider adding support.
Usually every entity needs its own entry in the configuration.yaml
file. There are two styles for multiple entries:
Style 1: Collect every entity under the “parent”
如果启用了