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

Error with typing hint #52

Merged
merged 2 commits into from
Mar 25, 2024
Merged

Conversation

P-Storm
Copy link
Contributor

@P-Storm P-Storm commented Mar 24, 2024

Fixes error that happened with merging/commiting #50 .

@nvdweem
Copy link

nvdweem commented Mar 25, 2024

I added the line manually, this seems to fix the stacktrace but I'm still unable to add button+ devices:

Logger: homeassistant.config_entries
Source: config_entries.py:2444
First occurred: 08:07:16 (1 occurrences)
Last logged: 08:07:16

Error occurred loading flow for integration button_plus: No module named 'config.custom_components'

This fails for me when adding a button+ integration:

  • Settings
  • Devices & Services
  • Add integration
  • Pick Button+
  • => Error

@P-Storm
Copy link
Contributor Author

P-Storm commented Mar 25, 2024

I added the line manually, this seems to fix the stacktrace but I'm still unable to add button+ devices:

Logger: homeassistant.config_entries
Source: config_entries.py:2444
First occurred: 08:07:16 (1 occurrences)
Last logged: 08:07:16

Error occurred loading flow for integration button_plus: No module named 'config.custom_components'

This fails for me when adding a button+ integration:

  • Settings
  • Devices & Services
  • Add integration
  • Pick Button+
  • => Error

That is a weird error, it seems that home assistant can't see your custom_component folder with your change. I would guess something of folder/files permission?

@nvdweem
Copy link

nvdweem commented Mar 25, 2024

To be complete, I got that error when I upgraded to the 0.10 version before I made the change too. I got the stacktrace as well so I assumed that to be the issue but it seems to be an additional problem.

Rechecked just now. 0.9.0 has no issues with adding the integration, in the 0.10 I get this error with a stacktrace and after changing the source I only get this error.

@koenhendriks koenhendriks merged commit b4fef2c into koenhendriks:main Mar 25, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants