refactor(flake)!: machines
-> hosts
This commit is contained in:
parent
703cd0264b
commit
a881c5d7e1
33 changed files with 52 additions and 45 deletions
23
hosts/nixos/x86_64-linux/jeeves/home-assistant/android.nix
Normal file
23
hosts/nixos/x86_64-linux/jeeves/home-assistant/android.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
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;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue