{ "common": { "condition_behavior_name": "Condition passes if", "condition_for_name": "For at least" }, "conditions": { "is_event_active": { "description": "Tests if one or more calendars have an active event.", "fields": { "behavior": { "name": "[%key:component::calendar::common::condition_behavior_name%]" }, "for": { "name": "[%key:component::calendar::common::condition_for_name%]" } }, "name": "Calendar event is active" } }, "entity_component": { "_": { "name": "[%key:component::calendar::title%]", "state": { "off": "[%key:common::state::off%]", "on": "[%key:common::state::on%]" }, "state_attributes": { "all_day": { "name": "All day", "state": { "false": "[%key:common::state::no%]", "true": "[%key:common::state::yes%]" } }, "description": { "name": "Description" }, "end_time": { "name": "End time" }, "location": { "name": "Location" }, "message": { "name": "Message" }, "start_time": { "name": "Start time" } } } }, "issues": { "deprecated_service_calendar_list_events": { "fix_flow": { "step": { "confirm": { "description": "Use `calendar.get_events` instead which supports multiple entities.\n\nPlease replace this action and adjust your automations and scripts and select **Submit** to close this issue.", "title": "[%key:component::calendar::issues::deprecated_service_calendar_list_events::title%]" } } }, "title": "Detected use of deprecated action calendar.list_events" } }, "selector": { "trigger_offset_type": { "options": { "after": "After", "before": "Before" } } }, "services": { "create_event": { "description": "Adds a new calendar event.", "fields": { "description": { "description": "A more complete description of the event than the one provided by the summary.", "name": "Description" }, "end_date": { "description": "The date the all-day event should end (exclusive).", "name": "End date" }, "end_date_time": { "description": "The date and time the event should end.", "name": "End time" }, "in": { "description": "Days or weeks that you want to create the event in.", "name": "In" }, "location": { "description": "The location of the event.", "name": "Location" }, "start_date": { "description": "The date the all-day event should start.", "name": "Start date" }, "start_date_time": { "description": "The date and time the event should start.", "name": "Start time" }, "summary": { "description": "Defines the short summary or subject for the event.", "name": "Summary" } }, "name": "Create calendar event" }, "get_events": { "description": "Retrieves events on a calendar within a time range.", "fields": { "duration": { "description": "Returns active events from Start time for the specified duration.", "name": "Duration" }, "end_date_time": { "description": "Returns active events before this time (exclusive). Cannot be used with Duration.", "name": "End time" }, "start_date_time": { "description": "Returns active events after this time (exclusive). When not set, defaults to now.", "name": "Start time" } }, "name": "Get calendar events" } }, "title": "Calendar", "triggers": { "event_ended": { "description": "Triggers when a calendar event ends.", "fields": { "offset": { "description": "Offset from the end of the event.", "name": "Offset" }, "offset_type": { "description": "Whether to trigger before or after the end of the event, if an offset is defined.", "name": "Offset type" } }, "name": "Calendar event ended" }, "event_started": { "description": "Triggers when a calendar event starts.", "fields": { "offset": { "description": "Offset from the start of the event.", "name": "Offset" }, "offset_type": { "description": "Whether to trigger before or after the start of the event, if an offset is defined.", "name": "Offset type" } }, "name": "Calendar event started" } } }