[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2024-09-25 15:13:54 +00:00
parent 2357f672bd
commit d2b23b391e

View File

@@ -314,7 +314,11 @@ for app in account["data"]["homeAppliances"]:
config["description"] = machine["description"]
config["features"] = augment_device_features(machine["features"])
with open(devicefile, 'w') as f:
with open(devicefile, "w") as f:
json.dump(configs, f, ensure_ascii=True, indent=4)
print("Success. You can now edit "+devicefile+", if needed, and run hc2mqtt.py or start Home Assistant addon again")
print(
"Success. You can now edit "
+ devicefile
+ ", if needed, and run hc2mqtt.py or start Home Assistant addon again"
)