Home-assistant yields ModuleNotFoundError: No module name 'hassil'

I am trying to setup home assistant and it fails on start.

So far I have the configuration

  # HOME ASSISTANT                                                                                                                                                                            
  services.home-assistant = {                                                                                                                                                                 
    enable = true;                                                                                                                                                                            
    openFirewall = true;                                                                                                                                                                      
    extraComponents = [                                                                                                                                                                       
      "analytics"                                                                                                                                                                             
      "met"                                                                                                                                                                                   
      "isal"                                                                                                                                                                                  
      "cast"                                                                                                                                                                                  
    ];                                                                                                                                                                                        
    configDir = "/var/lib/home-assistant";                                                                                                                                                    
    configWritable = true; # I want to test the UI first                                                                                                                                                             
    config.homeassistant = {                                                                                                                                                                  
      default_config = {};                                                                                                                                                                    
    };                                                                                                                                                                                        
  }; 

The home-assistant.log contains lines like

  File "/nix/store/62ca018946zd2hm8a959qqhq6p8lph6y-homeassistant-2025.11.3/lib/python3.13/site-packages/homeassistant/components/ai_task/__init__.py", line 35, in <module>
    from .entity import AITaskEntity
  File "/nix/store/62ca018946zd2hm8a959qqhq6p8lph6y-homeassistant-2025.11.3/lib/python3.13/site-packages/homeassistant/components/ai_task/entity.py", line 9, in <module>
    from homeassistant.components.conversation import (
    ...<3 lines>...
    )
  File "/nix/store/62ca018946zd2hm8a959qqhq6p8lph6y-homeassistant-2025.11.3/lib/python3.13/site-packages/homeassistant/components/conversation/__init__.py", line 9, in <module>
    from hassil.recognize import RecognizeResult
ModuleNotFoundError: No module named 'hassil'

How should I solve this?

There is a wiki section that seems to relate to this but it is unclear. It partly explains how to find a component for a missing package but not what I should do with that information. Should I add this component manually to services.home-assistant.extraComponents? And any or all components that contain hassil?

1 Like