Minimizing of the configuration sample (#1047)

This commit is contained in:
Fabian Affolter 2016-10-02 17:14:23 +02:00 committed by GitHub
parent dfb2c94112
commit a2776110aa
24 changed files with 104 additions and 157 deletions

View file

@ -16,27 +16,29 @@ The `orvibo` switch platform allows you to toggle your Orvibo S20 Wifi Smart Soc
To automatically discover Orvibo sockets on your network:
```yaml
# Example configuration.yaml entry
switch:
platform: orvibo
- platform: orvibo
```
To specify Orvibo sockets and skip discovery:
```yaml
# Example configuration.yaml entry
switch:
platform: orvibo
discovery: false
switches:
- host: IP_ADDRESS
mac: MA:CA:DD:RE:SS:00
name: "My Socket"
- platform: orvibo
discovery: false
switches:
- host: IP_ADDRESS
mac: MA:CA:DD:RE:SS:00
name: "My Socket"
```
Configuration variables:
- **discovery** (*Optional*): Whether to discover sockets (default true).
- **discovery** (*Optional*): Whether to discover sockets. Defaults to `true`.
- **switches** (*Optional*):
- **host** (*Required*): IP address of your socket, eg. 192.168.1.10.
- **mac** (*Optional*): MAC address of the socket, eg "AA:BB:CC:DD:EE:FF". This is required if the socket is connected to a different subnet to the machine running Home Assistant
- **host** (*Required*): IP address of your socket, eg. `192.168.1.10`.
- **mac** (*Optional*): MAC address of the socket, eg "AA:BB:CC:DD:EE:FF". This is required if the socket is connected to a different subnet to the machine running Home Assistant.
- **name** (*Optional*): Your name for the socket.