home-assistant: support ee_brightbox component

This commit is contained in:
Robert Schütz 2021-06-18 01:19:46 +02:00
parent 3945bf16f1
commit be2b5534e2
2 changed files with 15 additions and 1 deletions

View File

@ -209,7 +209,7 @@
"eddystone_temperature" = ps: with ps; [ construct ]; # missing inputs: beacontools[scan]
"edimax" = ps: with ps; [ pyedimax ];
"edl21" = ps: with ps; [ ]; # missing inputs: pysml
"ee_brightbox" = ps: with ps; [ ]; # missing inputs: eebrightbox
"ee_brightbox" = ps: with ps; [ eebrightbox ];
"efergy" = ps: with ps; [ ];
"egardia" = ps: with ps; [ pythonegardia ];
"eight_sleep" = ps: with ps; [ pyeight ];

View File

@ -134,6 +134,19 @@ let
});
})
# Pinned due to API changes in eebrightbox>=0.0.5
(self: super: {
eebrightbox = super.eebrightbox.overridePythonAttrs (oldAttrs: rec {
version = "0.0.4";
src = fetchFromGitHub {
owner = "krygal";
repo = "eebrightbox";
rev = version;
sha256 = "0d8mmpwgrd7gymw5263r1v2wjv6dx6w6pq13d62fkfm4h2hya4a4";
};
});
})
# home-assistant-frontend does not exist in python3.pkgs
(self: super: {
home-assistant-frontend = self.callPackage ./frontend.nix { };
@ -352,6 +365,7 @@ in with py.pkgs; buildPythonApplication rec {
"eafm"
"ecobee"
"econet"
"ee_brightbox"
"efergy"
"emonitor"
"emulated_hue"