diff --git a/services/home-assistant/default.nix b/services/home-assistant/default.nix index f8972f3..9b0e50a 100644 --- a/services/home-assistant/default.nix +++ b/services/home-assistant/default.nix @@ -1,11 +1,12 @@ -{ pkgs, ... }: +{ pkgs, config, ... }: { # Enable the Home Assistant service services.home-assistant = { enable = true; + package = pkgs.unstable.home-assistant; configWritable = true; config = null; - extraPackages = python3Packages: with pkgs.python3Packages; [ + extraPackages = python3Packages: with pkgs.unstable.python312Packages; [ aiopyarr zigpy-cc zigpy-znp @@ -21,6 +22,8 @@ pyunifiprotect unifi-discovery universal-silabs-flasher + vacuum-map-parser-base + vacuum-map-parser-roborock python-roborock ]; customComponents = with pkgs.home-assistant-custom-components; [ @@ -45,6 +48,12 @@ enable = true; package = pkgs.unstable.zigbee2mqtt; settings = { + homeassistant = { + legacy_entity_attributes = false; + legacy_triggers = false; + }; + availability = true; + frontend = true; permit_join = false; serial.port = "/dev/ttyUSB0"; };