You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/_docs/mqtt/discovery.markdown
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -42,8 +42,8 @@ The discovery topic need to follow a specific format:
42
42
```
43
43
44
44
- `<component>`: One of the supported components, eg. `binary_sensor`.
45
-
- `<node_id>`:(*Optional*) id of the node providing the topic.
46
-
- `<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`."
45
+
- `<node_id>` (*Optional*): ID of the node providing the topic.
46
+
- `<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`.
47
47
- `<>`: The topic `config` or `state` which defines the current action.
48
48
49
49
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`.
0 commit comments