mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 20:39:18 -08:00
Merge pull request #42 from arcnmx/hass-ui-scenes
tewi hass: fix UI-editable scenes and automations
This commit is contained in:
commit
bdd402ffeb
1 changed files with 36 additions and 32 deletions
|
|
@ -104,38 +104,12 @@
|
|||
platform = "google_translate";
|
||||
service_name = "google_say";
|
||||
}];
|
||||
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 = {};
|
||||
wake_on_lan = {};
|
||||
zeroconf = {};
|
||||
zone = {};
|
||||
# https://nixos.wiki/wiki/Home_Assistant#Combine_declarative_and_UI_defined_automations
|
||||
"automation manual" = [ ];
|
||||
"automation ui" = "!include automations.yaml";
|
||||
# https://nixos.wiki/wiki/Home_Assistant#Combine_declarative_and_UI_defined_scenes
|
||||
"scene manual" = [];
|
||||
"scene ui" = "!include scenes.yaml";
|
||||
};
|
||||
extraPackages = python3Packages: with python3Packages; [
|
||||
psycopg2
|
||||
|
|
@ -145,6 +119,36 @@
|
|||
(aiogithubapi.overrideAttrs (_: { doInstallCheck = false; }))
|
||||
];
|
||||
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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue