only send device update info when it is extractable
This commit is contained in:
@@ -355,14 +355,14 @@ def_global_updatecheck-payload = %global_prefix,
|
||||
}
|
||||
|
||||
|
||||
# optional secondary update check for the eBUS device (consuming the same topic though!)
|
||||
# optional secondary update check for the enhanced eBUS device (consuming the same topic though!)
|
||||
def_global_updatecheck_device-topic = %haprefix/update/%{TOPIC}_device/config
|
||||
def_global_updatecheck_device-payload = {
|
||||
"unique_id":"%{TOPIC}_device",
|
||||
"device":{
|
||||
"identifiers":"%{PREFIXN}_device",
|
||||
"manufacturer":"ebusd.eu",
|
||||
"name":"%prefixn device",
|
||||
"name":"%prefixn eBUS device",
|
||||
"via_device":"%PREFIXN",
|
||||
"suggested_area":"%area"
|
||||
},
|
||||
|
||||
@@ -178,8 +178,8 @@ def_global-payload = {
|
||||
#def_global-retain = 0
|
||||
|
||||
# individual global running, version, signal, uptime, updatecheck, and scan config topic, payload, and retain setting.
|
||||
# a secondary update check for the eBUS device (consuming the same updatecheck topic) can be set up additionally, which
|
||||
# does not use the common global defaults.
|
||||
# a secondary update check for the eBUS device (consuming the same updatecheck topic) can be set up, which will only be
|
||||
# used if an enhanced eBUS device supporting extra info is present (does not make use of the common global defaults).
|
||||
#def_global_running-...
|
||||
#def_global_version-...
|
||||
#def_global_signal-...
|
||||
|
||||
Reference in New Issue
Block a user