How do I find a config entry id and use that id to reload an integration via a service call? It seems simple enough to just use “Home Assistant Core Integration: Reload config entry” and add a config entry id but I’m not sure where to look for that. There was a post on here about using a rest API command to do it but Iost the thread and can’t find it again.
Did you find a solution?
In case you haven’t found it yet, /config/.storage/core.config_entries
Just found it. Another great solution is installing the file editor add on and then removing .storage from the hidden items list in the configuration options as described here:
Is there a way to programmatically retrieve this?
I’m having issues w/ iCloud integration specifically - and it needed to re-authenticate every few weeks - which is apparently changing the entry_id in core.config_entries and therefore bricking my reload integration.
I notice that iCloud need to be reloaded occasionally, so I have this automation do it for me when a problem / lack of updates is triggered. I’ll post in iCloud integration as well, but figured worth asking here if there was a way an automation could dynamically retrieve the current entry_id.
thanks for this, really complicated to do and impossible without this help
{{ config_entry_id('media_player.den') }}
f9e2df6f5f5b29104d357923ee7c4ce9
{{ config_entry_attr( config_entry_id('media_player.den'), 'title') }}
Sonos
Another option: go to the integration (Settings → Devices & services) and pick your integration. Now click the 3 dots next to devices (hamburger menu), you’ll find an option: Download diagnostics. The filename contains the config_entry_id (just before .json).
And another option: go to Devices & services, open that integration and select the device.
Now you have the ID in your address bar from your browser, preceded with your HA address and the path to the current folder.
Hi all
Do HACS integrations also get an integration id? (I presume they do)
And if they do, how can I retrieve the id for an integration that was not set via the HA UI (wyzesense)? It also doesn’t provide any device, just entities, so none of the methods above work.
Thanks a lot