Fix ha after move to unstable

This commit is contained in:
Torjus Håkestad 2024-06-01 21:58:19 +02:00
parent bffbc4b9a3
commit 7f625ae39d

View File

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