fix: home-assistant pull req errors

This commit is contained in:
Kat Inskip 2022-10-06 10:38:02 -07:00
parent f1ffc2fa87
commit 72d2161419
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
2 changed files with 5 additions and 3 deletions

View file

@ -1,4 +1,6 @@
{ config, lib, tf, ... }: { { config, lib, tf, ... }: let
inherit (lib.attrsets) attrNames filterAttrs;
in {
# MDNS # MDNS
services.avahi.enable = true; services.avahi.enable = true;
@ -180,7 +182,7 @@
port = 21063; port = 21063;
ip_address = "10.1.1.38"; ip_address = "10.1.1.38";
filter = let filter = let
inherit (config.services.host-assistant.config) google_assistant; inherit (config.services.home-assistant.config) google_assistant;
in { in {
include_domains = google_assistant.exposed_domains; include_domains = google_assistant.exposed_domains;
include_entities = attrNames (filterAttrs (_: entity: entity.expose or true) google_assistant.entity_config); include_entities = attrNames (filterAttrs (_: entity: entity.expose or true) google_assistant.entity_config);

2
tf

@ -1 +1 @@
Subproject commit 426f3bb0ceaf3fc1495ebe14f90697aaab19e1aa Subproject commit 6cf9c879c18a5b8aac7c4ee2489e72f949e99311