ics_calendar icon indicating copy to clipboard operation
ics_calendar copied to clipboard

Cannot set unique_id for calendar entities

Open codyc1515 opened this issue 2 years ago • 1 comments

Because a unique_id cannot be set in the configuration.yaml file, the entities cannot be controlled in the Lovelace UI. Is it possible to add support for the unique_id value?

codyc1515 avatar Feb 27 '23 23:02 codyc1515

I have the same request, will be a great feature. Calendars are last piece in my config that could not be hide from lovelace UI

lunarok avatar Aug 18 '23 13:08 lunarok

Why can't we use a URL as an identifier? I understand why IP address, device name and hostname shouldn't be used (for local devices), since they can always be easily changed by the user. But in our case, the URL will always 100% uniquely identify the calendar - i think this might refer more to local devices (IP addresses might change, so it's disallowed). The only thing I would change is adding the username as well, since some services might have an endpoint like https://example.org/api/mycalendar.ics where it's the same endpoint for every user, and the result only changes based on the auth.

sda3-14 avatar Aug 30 '24 13:08 sda3-14

Please note that you might change the URL over time, and the unique ID is supposed to be a constant. So using the URL is a non-starter.

However, with version 5.0.0, this won't be a problem, as a unique id will be assigned by HA itself.

franc6 avatar Sep 10 '24 23:09 franc6