From 55c3f1941818e09151f5cf9b9798d7d335ab489b Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Thu, 27 Jul 2023 08:56:56 +0200 Subject: [PATCH] HASS: alarm control panel --- instances/loki/configuration.nix | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/instances/loki/configuration.nix b/instances/loki/configuration.nix index f55dbed..d0677ac 100644 --- a/instances/loki/configuration.nix +++ b/instances/loki/configuration.nix @@ -294,16 +294,6 @@ with lib; { # libvirtd.enable = true; podman.enable = true; # virtualbox.host.enable = true; - - # oci-containers.containers = { - # # hass = { - # # image = "ghcr.io/home-assistant/home-assistant:stable"; - # # environment = { TZ = "Europe/Rome"; }; - # # extraOptions = [ "--privileged" "--network=host" "--pull=always" ]; - # # ports = [ "8123:8123" ]; - # # volumes = [ "/var/lib/hass:/config" "/mnt/raid0/condiviso:/media" ]; - # # }; - # }; }; services.home-assistant = { @@ -332,6 +322,11 @@ with lib; { scene = "!include scenes.yaml"; alert = "!include alert.yaml"; + alarm_control_panel = { + platform = "manual"; + code = "!secret alarm_code"; + }; + assist_pipeline = { }; # bluetooth = { }; cloud = { };