The reload REST API doesn’t seem to be working all the time. It’s not executing a fully reload. Whenever I saw a TP-LINK switch that’s not responding, executing REST call to reload the integration won’t help. But if I go to the integration web page to click reload TP-LINK integration manually, it will fix the problem.
unfortunately we still have to find the entry_id’s manually in the .storage, but we’re half way there
hope we will see an automatic config entry map in HA core interface at anytime, or at least an easy way of finding that, without having to scroll the .storage for the numbers. Could be nice eg on the /config/integrations page per integrations under some sort of info button?
Should one use config_entry_id from core.entity_registry or entity_id? I just did a quick test and it seems entity_id works. Looking at your post it looks like you used config_entry_id. Would be keen to know if entity_id works for you too.
Is entry_id referred to above then entity_id, config_entry_id or unique_id. I’m assuming config_entry_id but want to be certain, especially since this seemed to work when I used entity_id instead.
not sure if you understand what this does, since you refer to a single entity in the core.entity_registry:
the service I requested in the FR, integration.reload, and now implemented as reload_config_entry, reloads just that, a config entry. Meaning, the integration (or a subsidiary entry) displayed on your integrations page.
As such, it needs the ‘entry_id’ field in the config/.storage/core.config_entries
your line is from the core.entity_registry, as pertains not the config_entries, which this is all about, but entities in the Ha system.
this is about: homeassistant.reload_config_entry
maybe you talk about: homeassistant.update_entity ?
I do, and to hopefully convince you: I want to be able to reload my TP-Link integration (with a script/automation/whatever).
I was trying to understand which file to look at and which ID to use since that part wasn’t clear. That’s why I gave all the details of what I’ve done – I’ve been very specific. I couldn’t find an ID identified by entry_id and that’s why I asked. Just pointing out that I’ve looked at the wrong file would’ve been sufficient.
Thank you for berating me when I honestly missed something and made the big mistake to ask for help. By giving the details of my steps I was hoping it was a clear indication that I’ve made an effort and wasn’t trying to annoy you or anybody else. I’ve seen many of your posts and you’ve missed things many times too. You could just have pointed out I was looking at the wrong file.
Well, the top is a script, so you put that in scripts, or wherever you store scripts (I have it all in a package), the bottom is an input_select, so you put that, well, again, wherever you want, as long as its under the correct hierarchy…
Sorry, am I missing something?
What is the point of the script and then an input_select?
I can simply go to the integrations page and click ‘reload’.
I’d like to be able to automate the ‘reload’ on a very regular basis (Ikea crappy integration needs reloading a lot)…
Thanks