2020-04-20 23:25:35 +00:00
|
|
|
{
|
|
|
|
"title": "Calendar",
|
2023-03-16 11:16:08 +00:00
|
|
|
"entity_component": {
|
2020-04-20 23:25:35 +00:00
|
|
|
"_": {
|
2023-03-16 20:10:20 +00:00
|
|
|
"name": "[%key:component::calendar::title%]",
|
2023-03-16 11:16:08 +00:00
|
|
|
"state": {
|
|
|
|
"off": "[%key:common::state::off%]",
|
|
|
|
"on": "[%key:common::state::on%]"
|
2023-03-16 18:03:23 +00:00
|
|
|
},
|
|
|
|
"state_attributes": {
|
|
|
|
"all_day": {
|
2023-03-21 11:53:05 +00:00
|
|
|
"name": "All day",
|
|
|
|
"state": {
|
|
|
|
"true": "[%key:common::state::yes%]",
|
|
|
|
"false": "[%key:common::state::no%]"
|
|
|
|
}
|
2023-03-16 18:03:23 +00:00
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"name": "Description"
|
|
|
|
},
|
|
|
|
"end_time": {
|
|
|
|
"name": "End time"
|
|
|
|
},
|
|
|
|
"location": {
|
|
|
|
"name": "Location"
|
|
|
|
},
|
2023-11-11 13:24:23 +00:00
|
|
|
"message": {
|
2023-03-16 18:03:23 +00:00
|
|
|
"name": "Message"
|
|
|
|
},
|
|
|
|
"start_time": {
|
|
|
|
"name": "Start time"
|
|
|
|
}
|
2023-03-16 11:16:08 +00:00
|
|
|
}
|
2020-04-20 23:25:35 +00:00
|
|
|
}
|
2023-07-11 21:20:40 +00:00
|
|
|
},
|
|
|
|
"services": {
|
|
|
|
"create_event": {
|
|
|
|
"name": "Create event",
|
|
|
|
"description": "Adds a new calendar event.",
|
|
|
|
"fields": {
|
|
|
|
"summary": {
|
|
|
|
"name": "Summary",
|
|
|
|
"description": "Defines the short summary or subject for the event."
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"name": "Description",
|
|
|
|
"description": "A more complete description of the event than the one provided by the summary."
|
|
|
|
},
|
|
|
|
"start_date_time": {
|
|
|
|
"name": "Start time",
|
|
|
|
"description": "The date and time the event should start."
|
|
|
|
},
|
|
|
|
"end_date_time": {
|
|
|
|
"name": "End time",
|
|
|
|
"description": "The date and time the event should end."
|
|
|
|
},
|
|
|
|
"start_date": {
|
|
|
|
"name": "Start date",
|
|
|
|
"description": "The date the all-day event should start."
|
|
|
|
},
|
|
|
|
"end_date": {
|
|
|
|
"name": "End date",
|
|
|
|
"description": "The date the all-day event should end (exclusive)."
|
|
|
|
},
|
|
|
|
"in": {
|
|
|
|
"name": "In",
|
|
|
|
"description": "Days or weeks that you want to create the event in."
|
|
|
|
},
|
|
|
|
"location": {
|
|
|
|
"name": "Location",
|
|
|
|
"description": "The location of the event."
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"list_events": {
|
|
|
|
"name": "List event",
|
|
|
|
"description": "Lists events on a calendar within a time range.",
|
|
|
|
"fields": {
|
|
|
|
"start_date_time": {
|
|
|
|
"name": "Start time",
|
|
|
|
"description": "Returns active events after this time (exclusive). When not set, defaults to now."
|
|
|
|
},
|
|
|
|
"end_date_time": {
|
|
|
|
"name": "End time",
|
|
|
|
"description": "Returns active events before this time (exclusive). Cannot be used with 'duration'."
|
|
|
|
},
|
|
|
|
"duration": {
|
|
|
|
"name": "Duration",
|
|
|
|
"description": "Returns active events from start_date_time until the specified duration."
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-04-20 23:25:35 +00:00
|
|
|
}
|
|
|
|
}
|