Skip to content

Commit

Permalink
home-assistant: handle disabled components
Browse files Browse the repository at this point in the history
  • Loading branch information
mweinelt committed Jan 5, 2022
1 parent d0e7ab6 commit feb634b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions pkgs/servers/home-assistant/component-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
Expand Down Expand Up @@ -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; [ ];
Expand Down
1 change: 0 additions & 1 deletion pkgs/servers/home-assistant/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,6 @@ in with py.pkgs; buildPythonApplication rec {
"eafm"
"ecobee"
"econet"
"ee_brightbox"
"efergy"
"elgato"
"elkm1"
Expand Down
3 changes: 2 additions & 1 deletion pkgs/servers/home-assistant/parse-requirements.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit feb634b

Please sign in to comment.