diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-01-05 15:08:05 +0100 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-01-05 15:09:01 +0100 |
commit | feb634ba0c13266df9c5ca916dbf2ea39a68387c (patch) | |
tree | b80f7b9a2cd17be5fcabbd4315099802e0f2e395 /pkgs/servers/home-assistant | |
parent | d0e7ab6fcc49642ceb5be0d36a08e96c73440de1 (diff) |
home-assistant: handle disabled components
Diffstat (limited to 'pkgs/servers/home-assistant')
-rw-r--r-- | pkgs/servers/home-assistant/component-packages.nix | 2 | ||||
-rw-r--r-- | pkgs/servers/home-assistant/default.nix | 1 | ||||
-rwxr-xr-x | pkgs/servers/home-assistant/parse-requirements.py | 3 |
3 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/servers/home-assistant/component-packages.nix b/pkgs/servers/home-assistant/component-packages.nix index 4bb791a410fb6..59939f411fe33 100644 --- a/pkgs/servers/home-assistant/component-packages.nix +++ b/pkgs/servers/home-assistant/component-packages.nix @@ -217,7 +217,6 @@ "eddystone_temperature" = ps: with ps; [ construct ]; # missing inputs: beacontools[scan] "edimax" = ps: with ps; [ pyedimax ]; "edl21" = ps: with ps; [ pysml ]; - "ee_brightbox" = ps: with ps; [ eebrightbox ]; "efergy" = ps: with ps; [ pyefergy ]; "egardia" = ps: with ps; [ pythonegardia ]; "eight_sleep" = ps: with ps; [ pyeight ]; @@ -335,7 +334,6 @@ "google_translate" = ps: with ps; [ gtts ]; "google_travel_time" = ps: with ps; [ googlemaps ]; "google_wifi" = ps: with ps; [ ]; - "gpmdp" = ps: with ps; [ websocket-client ]; "gpsd" = ps: with ps; [ gps3 ]; "gpslogger" = ps: with ps; [ aiohttp-cors ]; "graphite" = ps: with ps; [ ]; diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix index c3175f1ee3e4e..63075eb2df550 100644 --- a/pkgs/servers/home-assistant/default.nix +++ b/pkgs/servers/home-assistant/default.nix @@ -466,7 +466,6 @@ in with py.pkgs; buildPythonApplication rec { "eafm" "ecobee" "econet" - "ee_brightbox" "efergy" "elgato" "elkm1" diff --git a/pkgs/servers/home-assistant/parse-requirements.py b/pkgs/servers/home-assistant/parse-requirements.py index 2cdc44caaae9b..4a2c42ff370c6 100755 --- a/pkgs/servers/home-assistant/parse-requirements.py +++ b/pkgs/servers/home-assistant/parse-requirements.py @@ -79,7 +79,8 @@ def parse_components(version: str = "master"): ) for domain in sorted(integrations): integration = integrations[domain] - components[domain] = integration.manifest + if not integration.disabled: + components[domain] = integration.manifest return components |