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

0.1.0 and HA 2024.8 error (fixed in master) #17

Closed
mikaelj opened this issue Sep 4, 2024 · 2 comments
Closed

0.1.0 and HA 2024.8 error (fixed in master) #17

mikaelj opened this issue Sep 4, 2024 · 2 comments

Comments

@mikaelj
Copy link

mikaelj commented Sep 4, 2024

Stack trace:

2024-09-03 07:58:35.336 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry BenQ w1070/w1250 /dev/ttyUSB0 for benqprojector
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 604, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/benqprojector/__init__.py", line 246, in async_setup_entry
    coordinator = BenQProjectorCoordinator(hass, projector)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/benqprojector/__init__.py", line 86, in __init__
    model = self.projector.model.upper()
            ^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'upper'

I'm guessing 4677f6f fixes it. Mind tagging a release 0.1.1 or something?

Was working before HA upgrade.

@mikaelj mikaelj changed the title 0.1.0 and HA 2024.8 error 0.1.0 and HA 2024.8 error (fixed in master) Sep 4, 2024
@rrooggiieerr
Copy link
Owner

Hi! I just released a new version, let me know if this works for you

@mikaelj
Copy link
Author

mikaelj commented Nov 5, 2024

@rrooggiieerr Fixed it, thanks!

@mikaelj mikaelj closed this as completed Nov 5, 2024
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

No branches or pull requests

2 participants