Merge branch 'current' into rc

This commit is contained in:
Paulus Schoutsen 2018-04-13 17:01:21 -04:00
commit bd9e7179e6
25 changed files with 220 additions and 125 deletions

View file

@ -43,8 +43,8 @@ The discovery topic need to follow a specific format:
```
- `<component>`: One of the supported components, eg. `binary_sensor`.
- `<node_id>`: (*Optional*) id of the node providing the topic.
- `<object_id>`: "The ID of the device. This is only to allow for separate topics for each device and is not used for the `entity_id`."
- `<node_id>` (*Optional*): ID of the node providing the topic.
- `<object_id>`: The ID of the device. This is only to allow for separate topics for each device and is not used for the `entity_id`.
- `<>`: The topic `config` or `state` which defines the current action.
The payload will be checked like an entry in your `configuration.yaml` file if a new device is added. This means that missing variables will be filled with the platform's default values. All configuration variables which are *required* must be present in the initial payload send to `/config`.