mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
chore: homekit hass entity filter
This commit is contained in:
parent
d40a384571
commit
3db2930050
1 changed files with 10 additions and 0 deletions
|
|
@ -179,6 +179,16 @@
|
|||
name = "Tewi";
|
||||
port = 21063;
|
||||
ip_address = "10.1.1.38";
|
||||
filter = let
|
||||
inherit (config.services.host-assistant.config) google_assistant;
|
||||
in {
|
||||
include_domains = google_assistant.exposed_domains;
|
||||
include_entities = attrNames (filterAttrs (_: entity: entity.expose or true) google_assistant.entity_config);
|
||||
};
|
||||
entity_config = {
|
||||
"switch.swb1_relay_3".type = "outlet";
|
||||
"switch.swb1_relay_4".type = "outlet";
|
||||
};
|
||||
};
|
||||
tts = [{
|
||||
platform = "google_translate";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue