This commit is contained in:
mjallen18
2026-03-26 11:42:16 -05:00
parent 85ea3039f4
commit aed841d32e
15 changed files with 39 additions and 60 deletions

View File

@@ -17,14 +17,8 @@ buildHomeAssistantComponent rec {
hash = "sha256-4i5Ne3LYV7DXn6F6e5MCVZhIdDYR7fe3tT2GeSmYb/k=";
};
nativeBuildInputs = with pkgs.${namespace}; [
wyzeapy
];
postPatch = ''
substituteInPlace custom_components/wyzeapi/manifest.json \
--replace '"wyzeapy>=0.5.28,<0.6"' '"wyzeapy>=0.5.27,<0.6"'
'';
# wyzeapy must be built against HA's Python; pkgs.mjallen.wyzeapy uses home-assistant.python
dependencies = [ pkgs.${namespace}.wyzeapy ];
meta = {
changelog = "https://github.com/SecKatie/ha-wyzeapi/releases/tag/${version}";