Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions source/_components/mqtt_statestream.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ To enable MQTT Statestream in Home Assistant, add the following section to your
```yaml
# Example configuration.yaml entry
mqtt_statestream:
base_topic: homeassistant/states
base_topic: homeassistant
```

Configuration variables:
Expand All @@ -32,6 +32,6 @@ Configuration variables:
When any Home Assistant entity changes, this component will publish that change to MQTT.

The topic for each entity is different, so you can easily subscribe other systems to just the entities you are interested in.
The topic will be in the form `base_topic/domain/entity`.
The topic will be in the form `base_topic/domain/entity/state`.

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`.
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`.