|
|
@ -91,7 +91,8 @@ def main():
|
|
|
|
if confirm("Check 'debug.json' if the output looks reasonable then confirm"):
|
|
|
|
if confirm("Check 'debug.json' if the output looks reasonable then confirm"):
|
|
|
|
json.dump(entities_object, entities_file)
|
|
|
|
json.dump(entities_object, entities_file)
|
|
|
|
print("Replaced 'core.entity_registry' with the contents of debug.json")
|
|
|
|
print("Replaced 'core.entity_registry' with the contents of debug.json")
|
|
|
|
print("PLEASE RESTART THE SERVER NOW")
|
|
|
|
print("First: Restart the server for changes to take affect")
|
|
|
|
|
|
|
|
print("Also: Clear your browser cache so the old entities disappear")
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
print(
|
|
|
|
print(
|
|
|
|
"Nothing changed. You could try to fix debug.json and replace the original file with it."
|
|
|
|
"Nothing changed. You could try to fix debug.json and replace the original file with it."
|
|
|
|