diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix index 12cb7778cdfe..438627aada3f 100644 --- a/pkgs/servers/home-assistant/default.nix +++ b/pkgs/servers/home-assistant/default.nix @@ -8,6 +8,8 @@ , ffmpeg-headless , inetutils , nixosTests +, home-assistant +, testers # Look up dependencies of specified components in component-packages.nix , extraComponents ? [ ] @@ -359,6 +361,10 @@ in python.pkgs.buildPythonApplication rec { tests = { nixos = nixosTests.home-assistant; components = callPackage ./tests.nix { }; + version = testers.testVersion { + package = home-assistant; + command = "hass --version"; + }; }; };