feat(home-assistant): add ha-sourdough custom component
Package the Sourdough Monitor HACS component declaratively via buildHomeAssistantComponent (pinned to v1.1.3), avoiding a HACS runtime. Config-flow based, so it's added through the HA UI after rebuild. No external pip deps; requires HA >= 2026.3.0 (have 2026.5.4). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NHApfYHvEmVLpsqkXdx4oq
This commit is contained in:
@@ -23,6 +23,23 @@ in
|
||||
services.home-assistant = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
|
||||
# HACS-style custom components, packaged declaratively (no HACS runtime).
|
||||
# Config-flow based: add via Settings > Devices & Services after rebuild.
|
||||
customComponents = [
|
||||
(pkgs.buildHomeAssistantComponent {
|
||||
owner = "Matts-Baps";
|
||||
domain = "sourdough";
|
||||
version = "1.1.3";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "Matts-Baps";
|
||||
repo = "ha-sourdough";
|
||||
rev = "v1.1.3";
|
||||
hash = "sha256-Uoid/2f6GxZMuE5Keu2VjHPYuOxnYG8hsCD6BYcaTvM=";
|
||||
};
|
||||
})
|
||||
];
|
||||
|
||||
extraComponents = [
|
||||
"matter"
|
||||
"mobile_app"
|
||||
|
||||
Reference in New Issue
Block a user