Add pyscript to home assistant

Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
Magic_RB 2023-07-15 17:00:01 +02:00
parent 0d272474e9
commit a297913039
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E

View file

@ -35,7 +35,13 @@ makeSystem {
services.home-assistant = {
enable = true;
envsubst = true;
customComponents = {};
customComponents = {
pyscript = pkgs.fetchzip {
url = "https://github.com/custom-components/pyscript/releases/download/1.4.0/hass-custom-pyscript.zip";
hash = "sha256-MpFnBqJ9PTbXnvwRbbEhfuv1q6mQ5jY1kEbhP6FFwvk=";
stripRoot = false;
};
};
config = {
default_config = {};
recorder = {
@ -125,6 +131,7 @@ makeSystem {
bleak-retry-connector
psutil-home-assistant
bluetooth-auto-recovery
croniter
];
};
};