28 lines
2.5 KiB
JSON
28 lines
2.5 KiB
JSON
[
|
|
{
|
|
"id": "Watchy Calendar Agenda",
|
|
"result": {
|
|
"structured": "TRIGGER: When watchy connected [switch.watchy_56ae04_connected] turns on. CONDITIONS: None. ACTIONS: Retrieve today's events from main calendar [calendar.main] and birthdays calendar [calendar.birthdays]. Parse the events to create a simplified list containing start time, end time, and summary for events starting today. Send the simplified agenda data to watchy set agenda [esphome.watchy_56ae04_set_agenda].",
|
|
"natural_language": {
|
|
"trigger": "When the watchy connected [switch.watchy_56ae04_connected] switch is turned on.",
|
|
"conditions": "There are no conditions; the automation runs immediately upon trigger.",
|
|
"action": "The automation fetches all events scheduled for today from both the main calendar [calendar.main] and the birthdays calendar [calendar.birthdays]. It then processes these events to create a simplified list that includes the start time, end time, and summary of each event that starts today. Finally, it sends this processed agenda data to the watchy set agenda [esphome.watchy_56ae04_set_agenda] service to update the device's display."
|
|
},
|
|
"human_like": "Updates a smartwatch's agenda display with today's calendar events and birthdays whenever the watch connects.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "Watchy Weather",
|
|
"result": {
|
|
"structured": "TRIGGER: When watchy request weather [switch.watchy_56ae04_request_weather] turns on. CONDITIONS: None. ACTIONS: Execute openweathermap forecast [rest_command.openweathermap_forecast] and store the response. IF the response status equals 200, THEN create a simplified JSON structure from the response data and send it to watchy set weather [esphome.watchy_56ae04_set_weather].",
|
|
"natural_language": {
|
|
"trigger": "When the watchy request weather [switch.watchy_56ae04_request_weather] switch is turned on.",
|
|
"conditions": "There are no conditions.",
|
|
"action": "The automation first calls the openweathermap forecast [rest_command.openweathermap_forecast] service to fetch weather data. If the request is successful (status code 200), it processes the response to extract specific forecast details, creates a simplified JSON structure, and sends that data to the watchy set weather [esphome.watchy_56ae04_set_weather] device."
|
|
},
|
|
"human_like": "Fetches weather forecast data and sends it to the Watchy device when requested.",
|
|
"complexity": "medium"
|
|
}
|
|
}
|
|
] |