QOS 2 pour la config
This commit is contained in:
parent
ec1dad8e8c
commit
3796f500e7
@ -82,7 +82,7 @@ def ha_create_config(req):
|
|||||||
}
|
}
|
||||||
ha_config.update({"dev": device, "o": origin})
|
ha_config.update({"dev": device, "o": origin})
|
||||||
ha_config.update({"state_topic": f"SNMP/{req['device_name']}/state"})
|
ha_config.update({"state_topic": f"SNMP/{req['device_name']}/state"})
|
||||||
ha_config.update({"qos": 1})
|
ha_config.update({"qos": 2})
|
||||||
cmps = {}
|
cmps = {}
|
||||||
for oid in req['oids']:
|
for oid in req['oids']:
|
||||||
cmps.update(
|
cmps.update(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user