Update Mqtt_statestream component configuration (#7260)

This commit is contained in:
Klaas Schoute 2018-10-30 07:39:21 +01:00 committed by Fabian Affolter
parent 34ae4be97a
commit 89ce61e777

View File

@ -27,19 +27,48 @@ mqtt_statestream:
publish_timestamps: true publish_timestamps: true
``` ```
Configuration variables: {% configuration %}
base_topic:
- **base_topic** (*Required*): Base topic used to generate the actual topic used to publish. description: Base topic used to generate the actual topic used to publish.
- **publish_attributes** (*Optional*): Publish attributes of the entity as well as the state. required: true
Default is false. type: string
- **publish_timestamps** (*Optional*): Publish the last_changed and last_updated timestamps for the entity. publish_attributes:
Default is false. description: Publish attributes of the entity as well as the state.
- **exclude** (*Optional*): Configure which components should be excluded from recordings. See *Include/Exclude* section below for details. required: false
- **entities** (*Optional*): The list of entity ids to be excluded from recordings. default: false
- **domains** (*Optional*): The list of domains to be excluded from recordings. type: boolean
- **include** (*Optional*): Configure which components should be included in recordings. If set, all other entities will not be recorded. publish_timestamps:
- **entities** (*Optional*): The list of entity ids to be included from recordings. description: Publish the last_changed and last_updated timestamps for the entity.
- **domains** (*Optional*): The list of domains to be included from recordings. required: false
default: false
type: boolean
exclude:
description: Configure which components should be excluded from recordings. See *Include/Exclude* section below for details.
required: false
type: list
keys:
entities:
description: The list of entity ids to be excluded from recordings.
required: false
type: list
domains:
description: The list of domains to be excluded from recordings.
required: false
type: list
include:
description: Configure which components should be included in recordings. If set, all other entities will not be recorded.
required: false
type: list
keys:
entities:
description: The list of entity ids to be included from recordings.
required: false
type: list
domains:
description: The list of domains to be included from recordings.
required: false
type: list
{% endconfiguration %}
## Operation ## Operation