Skip to content
Closed
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
4 changes: 2 additions & 2 deletions contrib/etc/ebusd/mqtt-hassio.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ definition-topic ?= %haprefix/%type_topic/%{TOPIC}_%FIELD/config
# HA integration: this is the config topic payload for HA's MQTT discovery.
definition-payload = {
"unique_id":"%{TOPIC}_%FIELD",
"name":"%prefixn %circuit %name %fieldname",
"name":"%name %fieldname",
"device":%circuit_part,
"value_template":"{{value_json[\"%field\"].value}}",
"state_topic":"%topic"%field_payload
Expand Down Expand Up @@ -340,7 +340,7 @@ global_prefix = {
"unique_id":"%TOPIC",
"device":%global_device,
"state_topic":"%topic",
"name":"%prefixn %name"
"name":"%name"

# HA integration: boolean suffix for global parts
global_boolean_suffix = ,
Expand Down