chore(hass): use hass implementation of fallback assistant
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2025-02-18 22:00:37 -05:00
parent e67ed81736
commit 94cceeb995
8 changed files with 2 additions and 58 deletions

View file

@ -28,7 +28,6 @@
inherit
(self.scopedPackages.${pkgs.system}.hass-components)
extended-ollama-conversation # url is without subdirectory
ha-fallback-conversation
tuya-local
;
};

View file

@ -49,3 +49,5 @@ entity_id,name,state,aliases,attributes
The current state of devices is provided in available devices.
Do not restate what user says.
Before your response, add "Your local AI says".

17
flake.lock generated
View file

@ -466,22 +466,6 @@
"type": "github"
}
},
"ha-fallback-conversation-src": {
"flake": false,
"locked": {
"lastModified": 1733355294,
"narHash": "sha256-zg+wvMYkR65wiL3qT4SB5TkwkWxaQ9HZQS/IUYqGJvk=",
"owner": "m50",
"repo": "ha-fallback-conversation",
"rev": "1e8e616916d5e19f315554c843036948b686c2ac",
"type": "github"
},
"original": {
"owner": "m50",
"repo": "ha-fallback-conversation",
"type": "github"
}
},
"home-manager": {
"inputs": {
"nixpkgs": [
@ -1656,7 +1640,6 @@
"grim-hyprland": "grim-hyprland",
"gtk-session-lock": "gtk-session-lock",
"gtk-theme-src": "gtk-theme-src",
"ha-fallback-conversation-src": "ha-fallback-conversation-src",
"home-manager": "home-manager",
"hyprgrass": "hyprgrass",
"hyprland": "hyprland",

View file

@ -133,12 +133,6 @@
repo = "gtk";
type = "github";
};
ha-fallback-conversation-src = {
flake = false;
owner = "m50";
repo = "ha-fallback-conversation";
type = "github";
};
home-manager = {
inputs.nixpkgs.follows = "nixpkgs";
owner = "nix-community";

View file

@ -240,10 +240,6 @@ let
owner = "TheNimaj";
repo = "extended_ollama_conversation";
}
{
owner = "m50";
repo = "ha-fallback-conversation";
}
{
owner = "make-all";
repo = "tuya-local";

View file

@ -49,7 +49,6 @@ Components I use for Home-Assistant that aren't in nixpkgs.
| Name | Description | Homepage |
| ---- | ----------- | -------- |
| `extended-ollama-conversation` | Home Assistant custom component of conversation agent. It uses Ollama to control your devices. | https://github.com/TheNimaj/extended_ollama_conversation |
| `ha-fallback-conversation` | HomeAssistant Assist Fallback Conversation Agent. | https://github.com/m50/ha-fallback-conversation |
| `material-symbols` | Material Symbols for Home Assistant is a collection of 13,803 Google Material Symbols for use within Home Assistant. It uses the icon-set produced and maintained by iconify. | https://github.com/beecho01/material-symbols |
| `netdaemon` | An application daemon for Home Assistant written in .NET. | https://github.com/net-daemon/netdaemon |
| `spotifyplus` | Home Assistant integration for Spotify Player control, services, and soundtouchplus integration support. | https://github.com/thlucas1/homeassistantcomponent_spotifyplus |

View file

@ -19,8 +19,6 @@ lib.makeScope pkgs.newScope (hass: let
in {
extended-ollama-conversation = buildHassComponent ./extended-ollama-conversation {};
ha-fallback-conversation = buildHassComponent ./ha-fallback-conversation {};
material-symbols = buildHassComponent ./material-symbols {};
netdaemon = buildHassComponent ./netdaemon {};

View file

@ -1,27 +0,0 @@
# FIXME: deprecated
{
# nix build inputs
lib,
buildHomeAssistantComponent,
ha-fallback-conversation-src,
...
}: let
inherit (builtins) fromJSON readFile;
manifest = fromJSON (readFile "${ha-fallback-conversation-src}/custom_components/fallback_conversation/manifest.json");
in
buildHomeAssistantComponent {
owner = "m50";
inherit (manifest) domain version;
src = ha-fallback-conversation-src;
meta = {
license = lib.licenses.mit;
homepage = "https://github.com/m50/ha-fallback-conversation";
description = ''
HomeAssistant Assist Fallback Conversation Agent.
'';
};
}