QOS 2 pour la config
This commit is contained in:
		@@ -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(
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user