discovery: Add ignore option (#2061)

This commit is contained in:
Pierre Ståhl 2017-02-23 12:48:14 +01:00 committed by Fabian Affolter
parent 4d085b63a1
commit 04cb735cf1

View File

@ -25,6 +25,7 @@ Home Assistant can discover and automatically configure zeroconf/mDNS and uPnP d
* Yamaha media player
* Logitech media server (Squeezebox)
* DirecTV
* Apple TV
It will be able to add Google Chromecasts and Belkin WeMo switches automatically, for Philips Hue it will require some configuration from the user.
@ -33,8 +34,15 @@ To load this component, add the following lines to your `configuration.yaml`:
```yaml
# Example configuration.yaml entry
discovery:
ignore:
- sonos
- samsung_tv
```
Configuration variables:
- **ignore** (*Optional*): A list of platforms that never will be automatically configured by `discovery`.
<p class='note'>
Home Assistant must be on the same network as the devices for uPnP discovery to work.
If running Home Assistant in a Docker container use switch `--net=host` to put it on the host's network.