diff --git a/hosts/genesis/home-assistant.nix b/hosts/genesis/home-assistant.nix index fd63669..529122c 100755 --- a/hosts/genesis/home-assistant.nix +++ b/hosts/genesis/home-assistant.nix @@ -11,24 +11,27 @@ "calendar" "cast" "daikin" - "eufy" + "ipp" "lovelace" + "met" "nest" "nextcloud" "ping" "piper" "radio_browser" - "rainbird" "roborock" "smart_meter_texas" "speedtestdotnet" "solaredge" "whisper" - "wiz" "wyoming" "zwave_js" ]; - customComponents = with pkgs.home-assistant-custom-components; [ smartthinq-sensors ]; + customComponents = with pkgs.home-assistant-custom-components; [ + pkgs.python3.pkgs.daikinone + nest_protect + smartthinq-sensors + ]; config = { default_config = { }; diff --git a/hosts/genesis/networking.nix b/hosts/genesis/networking.nix index 84ea036..2df907a 100644 --- a/hosts/genesis/networking.nix +++ b/hosts/genesis/networking.nix @@ -99,7 +99,6 @@ in import ./networking/dhcp.nix { inherit iot - iotIP lan lanIP routerIP diff --git a/overlays/daikinone.nix b/overlays/daikinone.nix new file mode 100644 index 0000000..da4210d --- /dev/null +++ b/overlays/daikinone.nix @@ -0,0 +1,33 @@ +{ + buildHomeAssistantComponent, + fetchFromGitHub, + lib, + + pydantic, + backoff, +}: + +buildHomeAssistantComponent rec { + pname = "ha-daikinone"; + domain = "daikinone"; + version = "v0.7.0"; + owner = "zlangbert"; + + src = fetchFromGitHub { + owner = "jf-navica"; + repo = pname; + rev = "69e6ef12c6289c3d83452d9946c5e0fbf87b73bb"; + #hash = "sha256-dINPgBdjQ0Ls+0yHiBsUjtHcvsPTfTq2VB1h07r0gpk="; + hash = "sha256-kYwS4BYDMMI6VkJVbf/Cpy2f88uXfhnqKLIGJgSlZVY="; + }; + + dependencies = [ + pydantic + backoff + ]; + + meta = with lib; { + description = "Daikin One Home Assistant integration"; + maintainers = with maintainers; [ greg ]; + }; +} diff --git a/overlays/default.nix b/overlays/default.nix index 830ec23..918ed0d 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -30,6 +30,7 @@ rec { cp = python-final.callPackage; in { + daikinone = cp ./daikinone.nix { }; xonsh-apipenv = cp ./xonsh-apipenv.nix { }; } )