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:
@@ -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
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user