From a6da2bb1fbb165877a30145a5c1948aa3fa23404 Mon Sep 17 00:00:00 2001 From: arcnmx Date: Thu, 6 Oct 2022 10:13:34 -0700 Subject: [PATCH] fix: Revert "chore: remove empty hass configs" This reverts commit 7a17249b9b7b4811813cafba9dc1279f86239038. I don't trust the wiki after all, because now a bunch of integrations are disabled. --- nixos/systems/tewi/home-assistant.nix | 58 ++++++++++++++------------- 1 file changed, 30 insertions(+), 28 deletions(-) diff --git a/nixos/systems/tewi/home-assistant.nix b/nixos/systems/tewi/home-assistant.nix index e7cb837f..1585f916 100644 --- a/nixos/systems/tewi/home-assistant.nix +++ b/nixos/systems/tewi/home-assistant.nix @@ -149,6 +149,36 @@ # https://nixos.wiki/wiki/Home_Assistant#Combine_declarative_and_UI_defined_scenes "scene manual" = []; "scene ui" = "!include scenes.yaml"; + counter = {}; + device_tracker = {}; + energy = {}; + group = {}; + history = {}; + image = {}; + input_boolean = {}; + input_datetime = {}; + input_number = {}; + input_select = {}; + input_text = {}; + logbook = {}; + map = {}; + media_source = {}; + mobile_app = {}; + my = {}; + person = {}; + script = {}; + ssdp = {}; + switch = {}; + stream = {}; + sun = {}; + system_health = {}; + tag = {}; + template = {}; + timer = {}; + webhook = {}; + wake_on_lan = {}; + zeroconf = {}; + zone = {}; sensor = let mkESPresenceBeacon = { device_id, ... }@args: { platform = "mqtt_room"; @@ -176,35 +206,7 @@ ]; extraComponents = [ "automation" - "counter" - "device_tracker" - "energy" - "group" - "history" - "image" - "input_boolean" - "input_datetime" - "input_number" - "input_select" - "input_text" - "logbook" - "map" - "media_source" - "mobile_app" - "my" - "person" "scene" - "script" - "ssdp" - "switch" - "stream" - "sun" - "system_health" - "tag" - "template" - "timer" - "webhook" - "zone" "zha" "esphome" "apple_tv"