Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup failed for custom integration iphonedetect: No setup or config entry setup function defined. #110

Closed
ms1design opened this issue Mar 18, 2024 · 7 comments
Labels
question Further information is requested

Comments

@ms1design
Copy link

Version affected: 1.4.1

Screenshot 2024-03-18 at 10 52 52
@mudape
Copy link
Owner

mudape commented Mar 18, 2024

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 mudape added the question Further information is requested label Mar 18, 2024
@ms1design
Copy link
Author

ms1design commented Mar 18, 2024

@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.

@mudape
Copy link
Owner

mudape commented Mar 18, 2024

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.

@ms1design
Copy link
Author

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...

@markfrancisonly
Copy link

markfrancisonly commented Mar 18, 2024

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

@ms1design
Copy link
Author

@mudape I created a PR which I hope should fix issues with next/2.0.5: #113

It also covers some fixes in scanner methods @markfrancisonly

@markfrancisonly
Copy link

@ms1design I can't use this integration without support for multiple subnets, feel free to pull out some of the code from pr #111 and call it your own

@mudape mudape closed this as not planned Won't fix, can't repro, duplicate, stale Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants