From 5a3d726fc40738679b363a0ba0087d198b2496d8 Mon Sep 17 00:00:00 2001 From: Matt White Date: Fri, 15 Sep 2017 23:27:28 -0600 Subject: [PATCH] mqtt_statestream: Update docs to append state at end of topic --- source/_components/mqtt_statestream.markdown | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/_components/mqtt_statestream.markdown b/source/_components/mqtt_statestream.markdown index 1a55692411b4..7945840415e9 100644 --- a/source/_components/mqtt_statestream.markdown +++ b/source/_components/mqtt_statestream.markdown @@ -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: @@ -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`.