Print discovered devices name and hostname
This commit is contained in:
@@ -313,6 +313,7 @@ for app in account["data"]["homeAppliances"]:
|
||||
machine = xml2json(features, description)
|
||||
config["description"] = machine["description"]
|
||||
config["features"] = augment_device_features(machine["features"])
|
||||
print("Discovered device: "+config["name"]+" - Device hostname: "+config["host"])
|
||||
|
||||
with open(devicefile, "w") as f:
|
||||
json.dump(configs, f, ensure_ascii=True, indent=4)
|
||||
|
||||
Reference in New Issue
Block a user