hass-core/homeassistant/components/calendar/services.yaml
Franck Nijhof f3b0c56c8c
Migrate calendar services to support translations (#96310)
* Migrate camera services to support translations

* Apply suggestions from code review

Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>

---------

Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
2023-07-11 23:20:40 +02:00

54 lines
1.1 KiB
YAML

create_event:
target:
entity:
domain: calendar
supported_features:
- calendar.CalendarEntityFeature.CREATE_EVENT
fields:
summary:
required: true
example: "Department Party"
selector:
text:
description:
example: "Meeting to provide technical review for 'Phoenix' design."
selector:
text:
start_date_time:
example: "2022-03-22 20:00:00"
selector:
datetime:
end_date_time:
example: "2022-03-22 22:00:00"
selector:
datetime:
start_date:
example: "2022-03-22"
selector:
date:
end_date:
example: "2022-03-23"
selector:
date:
in:
example: '{"days": 2} or {"weeks": 2}'
location:
example: "Conference Room - F123, Bldg. 002"
selector:
text:
list_events:
target:
entity:
domain: calendar
fields:
start_date_time:
example: "2022-03-22 20:00:00"
selector:
datetime:
end_date_time:
example: "2022-03-22 22:00:00"
selector:
datetime:
duration:
selector:
duration: