home-assistant.io
home-assistant.io copied to clipboard
developer tool - service won't run for google calendar create_event.
Feedback
Developer tools - Services, when using "Google Calendars: Create event" does not allow you to select the calendar entity-id, therefore you can't call the service. I had multi calendars so may be different if you only have one.
To address this go into "yaml" mode and add your calendar entity id after "service:" and before "data:" as follows. this is sample data: change this to your needs.
service: google.create_event
entity_id: calendar.
Now you can call the service Hope this helps others
URL
https://www.home-assistant.io/integrations/google/
Version
2022.8.0
Additional information
No response
Hey there @allenporter, mind taking a look at this feedback as it has been labeled with an integration (google) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
should be
service: google.create_event entity_id: calendar.replace with your calendar entity name here data: summary: Bowling description: Birthday bowling start_date_time: 2022-08-06T09:00:00.000Z end_date_time: 2022-08-07T12:00:00.000Z
I tested this on a dev build and I was able to use the UI to select an entity and create a calendar event :
I think I may have seen there was an issue in the frontend with the selector when using an integration so that may explain why it now works if it didn't before.