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."
}
}
} ,
2023-11-19 15:12:43 +00:00
"get_events" : {
2023-12-02 15:35:52 +00:00
"name" : "Get events" ,
2023-11-19 15:12:43 +00:00
"description" : "Get events on a calendar within a time range." ,
2023-07-11 21:20:40 +00:00
"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."
}
}
2023-11-19 15:12:43 +00:00
} ,
"list_events" : {
"name" : "List event" ,
"description" : "Lists events on a calendar within a time range." ,
"fields" : {
"start_date_time" : {
"name" : "[%key:component::calendar::services::get_events::fields::start_date_time::name%]" ,
"description" : "[%key:component::calendar::services::get_events::fields::start_date_time::description%]"
} ,
"end_date_time" : {
"name" : "[%key:component::calendar::services::get_events::fields::end_date_time::name%]" ,
"description" : "[%key:component::calendar::services::get_events::fields::end_date_time::description%]"
} ,
"duration" : {
"name" : "[%key:component::calendar::services::get_events::fields::duration::name%]" ,
"description" : "[%key:component::calendar::services::get_events::fields::duration::description%]"
}
}
}
} ,
"issues" : {
"deprecated_service_calendar_list_events" : {
"title" : "Detected use of deprecated service `calendar.list_events`" ,
"fix_flow" : {
"step" : {
"confirm" : {
"title" : "[%key:component::calendar::issues::deprecated_service_calendar_list_events::title%]" ,
"description" : "Use `calendar.get_events` instead which supports multiple entities.\n\nPlease replace this service and adjust your automations and scripts and select **submit** to close this issue."
}
}
}
2023-07-11 21:20:40 +00:00
}
2020-04-20 23:25:35 +00:00
}
}