Skip to content

Commit c313a8e

Browse files
mw-whiteballoob
authored andcommitted
mqtt_statestream: Update docs to append state at end of topic (home-assistant#3379)
1 parent e2cb9f5 commit c313a8e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/_components/mqtt_statestream.markdown

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ To enable MQTT Statestream in Home Assistant, add the following section to your
2020
```yaml
2121
# Example configuration.yaml entry
2222
mqtt_statestream:
23-
base_topic: homeassistant/states
23+
base_topic: homeassistant
2424
```
2525
2626
Configuration variables:
@@ -32,6 +32,6 @@ Configuration variables:
3232
When any Home Assistant entity changes, this component will publish that change to MQTT.
3333
3434
The topic for each entity is different, so you can easily subscribe other systems to just the entities you are interested in.
35-
The topic will be in the form `base_topic/domain/entity`.
35+
The topic will be in the form `base_topic/domain/entity/state`.
3636

37-
For example, with the example configuration above, if an entity called 'light.master_bedroom_dimmer' is turned on, this component will publish `on` to `homeassistant/states/light/master_bedroom_dimmer`.
37+
For example, with the example configuration above, if an entity called 'light.master_bedroom_dimmer' is turned on, this component will publish `on` to `homeassistant/light/master_bedroom_dimmer/state`.

0 commit comments

Comments
 (0)