2017-10-30 20:39:12 +00:00
|
|
|
# Describes the format for available MQTT services
|
2016-02-11 05:23:27 +00:00
|
|
|
|
2017-10-30 20:39:12 +00:00
|
|
|
publish:
|
2021-02-23 13:10:13 +00:00
|
|
|
name: Publish
|
|
|
|
description: Publish a message to an MQTT topic.
|
2016-02-11 05:23:27 +00:00
|
|
|
fields:
|
|
|
|
topic:
|
2021-02-18 15:37:15 +00:00
|
|
|
name: Topic
|
2017-10-30 20:39:12 +00:00
|
|
|
description: Topic to publish payload.
|
2021-02-18 15:37:15 +00:00
|
|
|
required: true
|
2016-02-11 05:23:27 +00:00
|
|
|
example: /homeassistant/hello
|
2021-02-18 15:37:15 +00:00
|
|
|
selector:
|
|
|
|
text:
|
2016-02-11 05:23:27 +00:00
|
|
|
payload:
|
2021-02-18 15:37:15 +00:00
|
|
|
name: Payload
|
2017-10-30 20:39:12 +00:00
|
|
|
description: Payload to publish.
|
2016-02-11 05:23:27 +00:00
|
|
|
example: This is great
|
2021-02-18 15:37:15 +00:00
|
|
|
selector:
|
|
|
|
text:
|
2016-02-11 05:23:27 +00:00
|
|
|
payload_template:
|
2021-02-18 15:37:15 +00:00
|
|
|
name: Payload Template
|
|
|
|
description:
|
|
|
|
Template to render as payload value. Ignored if payload given.
|
|
|
|
advanced: true
|
2016-02-11 05:23:27 +00:00
|
|
|
example: "{{ states('sensor.temperature') }}"
|
2021-02-18 15:37:15 +00:00
|
|
|
selector:
|
|
|
|
object:
|
2016-02-11 05:23:27 +00:00
|
|
|
qos:
|
2021-02-18 15:37:15 +00:00
|
|
|
name: QoS
|
2017-10-30 20:39:12 +00:00
|
|
|
description: Quality of Service to use.
|
2021-02-18 15:37:15 +00:00
|
|
|
advanced: true
|
2016-02-11 05:23:27 +00:00
|
|
|
example: 2
|
|
|
|
values:
|
|
|
|
- 0
|
|
|
|
- 1
|
|
|
|
- 2
|
|
|
|
default: 0
|
2021-02-18 15:37:15 +00:00
|
|
|
selector:
|
|
|
|
select:
|
|
|
|
options:
|
|
|
|
- "0"
|
|
|
|
- "1"
|
|
|
|
- "2"
|
2016-02-11 05:23:27 +00:00
|
|
|
retain:
|
2021-02-18 15:37:15 +00:00
|
|
|
name: Retain
|
2016-02-11 05:23:27 +00:00
|
|
|
description: If message should have the retain flag set.
|
|
|
|
default: false
|
2021-02-18 15:37:15 +00:00
|
|
|
example: true
|
|
|
|
selector:
|
|
|
|
boolean:
|
2020-02-02 23:01:52 +00:00
|
|
|
|
|
|
|
dump:
|
2021-02-23 13:10:13 +00:00
|
|
|
name: Dump
|
2021-02-18 15:37:15 +00:00
|
|
|
description:
|
2021-02-23 13:10:13 +00:00
|
|
|
Dump messages on a topic selector to the 'mqtt_dump.txt' file in your
|
|
|
|
configuration folder.
|
2020-02-02 23:01:52 +00:00
|
|
|
fields:
|
|
|
|
topic:
|
2021-02-18 15:37:15 +00:00
|
|
|
name: Topic
|
2020-02-02 23:01:52 +00:00
|
|
|
description: topic to listen to
|
2020-02-06 19:39:44 +00:00
|
|
|
example: "OpenZWave/#"
|
2021-02-18 15:37:15 +00:00
|
|
|
selector:
|
|
|
|
text:
|
2020-02-02 23:01:52 +00:00
|
|
|
duration:
|
2021-02-18 15:37:15 +00:00
|
|
|
name: Duration
|
2020-02-02 23:01:52 +00:00
|
|
|
description: how long we should listen for messages in seconds
|
|
|
|
example: 5
|
|
|
|
default: 5
|
2021-02-18 15:37:15 +00:00
|
|
|
selector:
|
|
|
|
number:
|
|
|
|
min: 1
|
|
|
|
max: 300
|
|
|
|
step: 1
|
|
|
|
unit_of_measurement: "seconds"
|
|
|
|
mode: slider
|
2020-09-03 01:16:21 +00:00
|
|
|
|
|
|
|
reload:
|
2021-02-23 13:10:13 +00:00
|
|
|
name: Reload
|
|
|
|
description: Reload all MQTT entities from YAML.
|