fix(home-assistant): nest name/unit_system under homeassistant block
HA expects \`name\` and \`unit_system\` as keys of the top-level \`homeassistant:\` block, not as top-level integration names. Recent HA versions tightened config validation, so this surfaced as "Integration 'unit_system' not found" / "Integration 'name' not found" warnings, blocking the automation reload that runs after saving an automation in the UI. Pre-existing bug, unrelated to OTBR — surfaced now because automation edits trigger strict validation. Bonus: NixOS auto-populates \`time_zone\` from the system locale once \`homeassistant\` is a real block. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -36,8 +36,10 @@ in
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
services.home-assistant.config = {
|
services.home-assistant.config = {
|
||||||
name = "Home - Rechberg";
|
homeassistant = {
|
||||||
unit_system = "metric";
|
name = "Home - Rechberg";
|
||||||
|
unit_system = "metric";
|
||||||
|
};
|
||||||
mobile_app = {};
|
mobile_app = {};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user