reo101
9b8f894a1a
Flatten down directory structure: - From: `./hosts/${configuration-type}/${system}/{configuration,deploy}.nix` - To: `./hosts/${configuration-type}/{meta,configuration}.nix` Keep `system` and `deploy-rs` config in `meta.nix` Update `flake.lock`
23 lines
511 B
Nix
23 lines
511 B
Nix
{
|
|
services.home-assistant.config = {
|
|
conversation.intents = {
|
|
FindAndroid = [
|
|
"(Find|Fight) my (phone|android|android phone)"
|
|
];
|
|
};
|
|
intent_script = {
|
|
FindAndroid = {
|
|
speech.text = "Send notification";
|
|
action = {
|
|
service = "notify.pushover";
|
|
data = {
|
|
message = "Phonefinderalert";
|
|
target = "android";
|
|
data.sound = "echo";
|
|
data.priority = 1;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|