Merge pull request #298445 from dotlambda/home-assistant-custom-components.homematicip_local
home-assistant-custom-components.homematicip_local: init at 1.58.0
This commit is contained in:
commit
5ba94df425
|
@ -66,6 +66,6 @@ buildPythonPackage rec {
|
||||||
homepage = "https://github.com/danielperna84/hahomematic";
|
homepage = "https://github.com/danielperna84/hahomematic";
|
||||||
changelog = "https://github.com/danielperna84/hahomematic/releases/tag/${version}";
|
changelog = "https://github.com/danielperna84/hahomematic/releases/tag/${version}";
|
||||||
license = with licenses; [ mit ];
|
license = with licenses; [ mit ];
|
||||||
maintainers = with maintainers; [ fab ];
|
maintainers = with maintainers; [ dotlambda fab ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,7 +11,7 @@ Python runtime dependencies can be directly consumed as unqualified
|
||||||
function arguments. Pass them into `propagatedBuildInputs`, for them to
|
function arguments. Pass them into `propagatedBuildInputs`, for them to
|
||||||
be available to Home Assistant.
|
be available to Home Assistant.
|
||||||
|
|
||||||
Out-of-tree components need to use python packages from
|
Out-of-tree components need to use Python packages from
|
||||||
`home-assistant.python.pkgs` as to not introduce conflicting package
|
`home-assistant.python.pkgs` as to not introduce conflicting package
|
||||||
versions into the Python environment.
|
versions into the Python environment.
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@ domain in the `manifest.json` as well as the module name are
|
||||||
|
|
||||||
The `pname` attribute is a composition of both `owner` and `domain`.
|
The `pname` attribute is a composition of both `owner` and `domain`.
|
||||||
|
|
||||||
Don't set `pname`, set `owner and `domain` instead.
|
Don't set `pname`, set `owner` and `domain` instead.
|
||||||
|
|
||||||
Exposing the `domain` attribute separately allows checking for
|
Exposing the `domain` attribute separately allows checking for
|
||||||
conflicting components at eval time.
|
conflicting components at eval time.
|
||||||
|
|
|
@ -18,6 +18,8 @@
|
||||||
|
|
||||||
gpio = callPackage ./gpio {};
|
gpio = callPackage ./gpio {};
|
||||||
|
|
||||||
|
homematicip_local = callPackage ./homematicip_local { };
|
||||||
|
|
||||||
localtuya = callPackage ./localtuya {};
|
localtuya = callPackage ./localtuya {};
|
||||||
|
|
||||||
miele = callPackage ./miele {};
|
miele = callPackage ./miele {};
|
||||||
|
|
|
@ -0,0 +1,30 @@
|
||||||
|
{ lib
|
||||||
|
, buildHomeAssistantComponent
|
||||||
|
, fetchFromGitHub
|
||||||
|
, hahomematic
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildHomeAssistantComponent rec {
|
||||||
|
owner = "danielperna84";
|
||||||
|
domain = "homematicip_local";
|
||||||
|
version = "1.58.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "danielperna84";
|
||||||
|
repo = "custom_homematic";
|
||||||
|
rev = "refs/tags/${version}";
|
||||||
|
hash = "sha256-ianM29eF2MN2THS3CTg4tBkd+8pV/m1fg8VvMDhhadg=";
|
||||||
|
};
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
hahomematic
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
changelog = "https://github.com/danielperna84/custom_homematic/blob/${version}/changelog.md";
|
||||||
|
description = "Custom Home Assistant Component for HomeMatic";
|
||||||
|
homepage = "https://github.com/danielperna84/custom_homematic";
|
||||||
|
maintainers = with lib.maintainers; [ dotlambda ];
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user