-
Notifications
You must be signed in to change notification settings - Fork 26
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
Release v1.0.11 - v1.0.11 error when testing with 2024.1.0b2 #103
Comments
Same issue still with the latest release and Home Assistant B3. |
Fixed in v1.0.12, pls check |
This is not the same. I get this error now: You are running Home Assistant version '2023.12.4', but this repository requires minimum version '2024.1.0b0' to be installed. Please read before closing an issue.. |
Fixed for 2024.1.0bx. Great work. Thanks. |
Closing. |
Confirming that 1.0.12 works fine on 2024.1.0b2 |
I can also confirm that the latest release has fixed this issue. |
Seems to have fixed the notifications now too |
Thanks for the update |
Logger: homeassistant.setup
Source: setup.py:251
First occurred: 4:05:04 AM (1 occurrences)
Last logged: 4:05:04 AM
Setup failed for custom integration 'hpprinter': Unable to import component: Exception importing custom_components.hpprinter
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 822, in get_component
ComponentProtocol, importlib.import_module(self.pkg_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/config/custom_components/hpprinter/init.py", line 6, in
from custom_components.hpprinter.helpers import (
File "/config/custom_components/hpprinter/helpers/init.py", line 8, in
from ..managers.home_assistant import HPPrinterHomeAssistant
File "/config/custom_components/hpprinter/managers/home_assistant.py", line 21, in
from ..managers.entity_manager import EntityManager
File "/config/custom_components/hpprinter/managers/entity_manager.py", line 11, in
from ..models.entity_data import EntityData
File "/config/custom_components/hpprinter/models/entity_data.py", line 6, in
class EntityData:
File "/config/custom_components/hpprinter/models/entity_data.py", line 15, in EntityData
binary_sensor_device_class: Optional[BinarySensorDeviceClass]
^^^^^^^^^^^^^^^^^^^^^^^
NameError: name 'BinarySensorDeviceClass' is not defined
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 251, in _async_setup_component
component = integration.get_component()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 830, in get_component
raise ImportError(f"Exception importing {self.pkg_path}") from err
ImportError: Exception importing custom_components.hpprinter
The text was updated successfully, but these errors were encountered: