Merge pull request #335372 from mweinelt/dwd-2024.4.0

home-assistant-custom-components.dwd: init at 2024.4.0
This commit is contained in:
Martin Weinelt 2024-08-17 17:34:12 +02:00 committed by GitHub
commit e54cd8e589
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 33 additions and 0 deletions

View File

@ -12,6 +12,8 @@
better_thermostat = callPackage ./better_thermostat {};
dwd = callPackage ./dwd { };
elevenlabs_tts = callPackage ./elevenlabs_tts {};
emporia_vue = callPackage ./emporia_vue {};

View File

@ -0,0 +1,31 @@
{
lib,
fetchFromGitHub,
buildHomeAssistantComponent,
defusedxml,
}:
buildHomeAssistantComponent rec {
owner = "hg1337";
domain = "dwd";
version = "2024.4.0";
src = fetchFromGitHub {
owner = "hg1337";
repo = "homeassistant-dwd";
rev = version;
hash = "sha256-2bmLEBt6031p9SN855uunq7HrRJ9AFokw8t4CSBidTM=";
};
dependencies = [ defusedxml ];
# defusedxml version mismatch
dontCheckManifest = true;
meta = with lib; {
description = "Custom component for Home Assistant that integrates weather data (measurements and forecasts) of Deutscher Wetterdienst";
homepage = "https://github.com/hg1337/homeassistant-dwd";
license = licenses.asl20;
maintainers = with maintainers; [ hexa ];
};
}