-
-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #302639 from mweinelt/local-luftdaten
home-assistant-custom-components.local_luftdaten: init at 2.3.1
- Loading branch information
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
pkgs/servers/home-assistant/custom-components/local_luftdaten/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ lib | ||
, buildHomeAssistantComponent | ||
, fetchFromGitHub | ||
}: | ||
|
||
buildHomeAssistantComponent rec { | ||
owner = "lichtteil"; | ||
domain = "local_luftdaten"; | ||
version = "2.3.1"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "lichtteil"; | ||
repo = "local_luftdaten"; | ||
rev = version; | ||
hash = "sha256-68clZgS7Qo62srcZWD3Un9BnNSwQUBr4Z5oBMTC9m8o="; | ||
}; | ||
|
||
meta = with lib; { | ||
changelog = "https://github.com/lichtteil/local_luftdaten/releases/tag/${version}"; | ||
description = "Custom component for Home Assistant that integrates your (own) local Luftdaten sensor (air quality/particle sensor) without using the cloud"; | ||
homepage = "https://github.com/lichtteil/local_luftdaten"; | ||
license = licenses.mit; | ||
maintainers = with maintainers; [ hexa ]; | ||
}; | ||
} |