Setup failed for custom integration `iphonedetect`: No setup or config entry setup function defined.
Version affected: 1.4.1
Hi @ms1design ,
Strange! Did you upgrade from earlier release or is this on a new install? Please try redownload the integration from within HACS and then restart Home-Assistant
@mudape this was from earlier release, but I can’t guarantee thats the previous one was picked correctly. Could it happen that I had version 2.x.x and went from there to 1.4.1 with this error?
In HACKS we can get specific version, but that dropdown isn’t working for me now.
Ah, yes that's probably it. I haven't considered moving from 2 (which do have config entries) back to 1. Speaking of which the beta needs some love.. I noticed that every other boot HA didn't create the device_tracker entities. Unclear if it's just my system, to be honest I haven't paid much attention to changes in HA recently. Will try to find the time.
Meanwhile, could you install the 2.0.5 version again? The deprecation warning for source_type_router will return but should work fine until HA 2025.1.
Thanks @mudape, switching back to 2.0.5 helped - now the plugin starts as it was before.
I noticed that every other boot HA didn't create the device_tracker entities. Unclear if it's just my system, to be honest I haven't paid much attention to changes in HA recently.
That's true - I noticed that just because I'm using some hardcoded entities created by this plugin in some of my scripts which I use later in automations. It's precisely that issue - device_tracker entities aren’t created...
every other boot HA didn't create the device_tracker entities
@mudape I believe the missing entities on restart issue was fixed by implementing async scanner methods
@mudape I created a PR which I hope should fix issues with next/2.0.5: https://github.com/mudape/iphonedetect/pull/113
It also covers some fixes in scanner methods @markfrancisonly
@ms1design I can't use this integration without support for multiple subnets, feel free to pull out some of the code from pr https://github.com/mudape/iphonedetect/pull/111 and call it your own