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;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|