truncate updatecheck payload (fixes #542)
This commit is contained in:
@@ -327,6 +327,10 @@ def_global_signal-topic = %haprefix/binary_sensor/%TOPIC/config
|
|||||||
def_global_signal-payload = %global_prefix,
|
def_global_signal-payload = %global_prefix,
|
||||||
"device_class":"connectivity"%global_boolean_suffix
|
"device_class":"connectivity"%global_boolean_suffix
|
||||||
|
|
||||||
|
def_global_updatecheck-payload = %global_prefix,
|
||||||
|
"state_class":"measurement",
|
||||||
|
"value_template":"{{value_json|truncate(255)}}"
|
||||||
|
}
|
||||||
|
|
||||||
# the topic and payload to listen to in order to republish all config messages.
|
# the topic and payload to listen to in order to republish all config messages.
|
||||||
# HA integration: force republish of all configs when HA goes down and comes up again.
|
# HA integration: force republish of all configs when HA goes down and comes up again.
|
||||||
|
|||||||
Reference in New Issue
Block a user