15 lines
1.0 KiB
JSON
15 lines
1.0 KiB
JSON
[
|
|
{
|
|
"id": "Request Location from Akio Toyoda While Driving",
|
|
"result": {
|
|
"structured": "TRIGGER: Every 2 minutes (time pattern). CONDITIONS: akio toyoda mode of transit [sensor.akio_toyoda_mode_of_transit] is driving. ACTIONS: IF akio toyoda distance updates [sensor.akio_toyoda_distance_updates] last_changed is more than 2 minutes ago, THEN send a location update request via akio toyoda phone [notify.mobile_app_akio_toyodas_phonne].",
|
|
"natural_language": {
|
|
"trigger": "The automation triggers every two minutes.",
|
|
"conditions": "It checks if the current mode of transit for Akio Toyoda is 'driving'.",
|
|
"action": "If the last location update from the distance sensor was more than two minutes ago, it sends a notification to Akio Toyoda's phone requesting a location update."
|
|
},
|
|
"human_like": "Requests a location update from Akio Toyoda's phone every two minutes while they are driving, but only if no recent location update has been received.",
|
|
"complexity": "medium"
|
|
}
|
|
}
|
|
] |