buildHomeAssistantComponent: support custom sentences

Custom components can also ship with sentences that extend the grammar-
based voice infrastructur of Home Assistant.
This commit is contained in:
Martin Weinelt
2024-07-16 01:31:01 +02:00
parent 974165d1cc
commit 7d10db1506

View File

@@ -27,6 +27,9 @@ home-assistant.python.pkgs.buildPythonPackage (
mkdir $out
cp -r ./custom_components/ $out/
# optionally copy sentences, if they exist
cp -r ./custom_sentences/ $out/ || true
runHook postInstall
'';