Hi,
I’m also getting errors since the update to 2022.5
Like @villersfr i’m getting the light error and i get also one from binary_sensor
See my log for the binary_sensor error
´Logger: homeassistant.config
Source: custom_components/domintell/binary_sensor.py:12
Integration: Domintell Integration (documentation)
First occurred: 17:43:28 (1 occurrences)
Last logged: 17:43:28
Platform error: binary_sensor
Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/config.py”, line 877, in async_process_component_config platform = p_integration.get_platform(domain) File “/usr/src/homeassistant/homeassistant/loader.py”, line 566, in get_platform cache[full_name] = self._import_platform(platform_name) File “/usr/src/homeassistant/homeassistant/loader.py”, line 583, in _import_platform return importlib.import_module(f"{self.pkg_path}.{platform_name}") File “/usr/local/lib/python3.9/importlib/init.py”, line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File “”, line 1030, in _gcd_import File “”, line 1007, in _find_and_load File “”, line 986, in _find_and_load_unlocked File “”, line 680, in _load_unlocked File “”, line 850, in exec_module File “”, line 228, in _call_with_frames_removed File “/config/custom_components/domintell/binary_sensor.py”, line 12, in from homeassistant.components.binary_sensor import BinarySensorDevice ImportError: cannot import name ‘BinarySensorDevice’ from ‘homeassistant.components.binary_sensor’ (/usr/src/homeassistant/homeassistant/components/binary_sensor/init.py)
Logger: homeassistant.config
Source: custom_components/domintell/binary_sensor.py:12
Integration: Domintell Integration (documentation)
First occurred: 17:43:28 (1 occurrences)
Last logged: 17:43:28
Platform error: binary_sensor
Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/config.py”, line 877, in async_process_component_config platform = p_integration.get_platform(domain) File “/usr/src/homeassistant/homeassistant/loader.py”, line 566, in get_platform cache[full_name] = self._import_platform(platform_name) File “/usr/src/homeassistant/homeassistant/loader.py”, line 583, in _import_platform return importlib.import_module(f"{self.pkg_path}.{platform_name}") File “/usr/local/lib/python3.9/importlib/init.py”, line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File “”, line 1030, in _gcd_import File “”, line 1007, in _find_and_load File “”, line 986, in _find_and_load_unlocked File “”, line 680, in _load_unlocked File “”, line 850, in exec_module File “”, line 228, in _call_with_frames_removed File “/config/custom_components/domintell/binary_sensor.py”, line 12, in from homeassistant.components.binary_sensor import BinarySensorDevice ImportError: cannot import name ‘BinarySensorDevice’ from ‘homeassistant.components.binary_sensor’ (/usr/src/homeassistant/homeassistant/components/binary_sensor/init.py)
Logger: homeassistant.config
Source: custom_components/domintell/binary_sensor.py:12
Integration: Domintell Integration (documentation)
First occurred: 17:43:28 (1 occurrences)
Last logged: 17:43:28
Platform error: binary_sensor
Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/config.py”, line 877, in async_process_component_config platform = p_integration.get_platform(domain) File “/usr/src/homeassistant/homeassistant/loader.py”, line 566, in get_platform cache[full_name] = self._import_platform(platform_name) File “/usr/src/homeassistant/homeassistant/loader.py”, line 583, in _import_platform return importlib.import_module(f"{self.pkg_path}.{platform_name}") File “/usr/local/lib/python3.9/importlib/init.py”, line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File “”, line 1030, in _gcd_import File “”, line 1007, in _find_and_load File “”, line 986, in _find_and_load_unlocked File “”, line 680, in _load_unlocked File “”, line 850, in exec_module File “”, line 228, in _call_with_frames_removed File “/config/custom_components/domintell/binary_sensor.py”, line 12, in from homeassistant.components.binary_sensor import BinarySensorDevice ImportError: cannot import name ‘BinarySensorDevice’ from ‘homeassistant.components.binary_sensor’ (/usr/src/homeassistant/homeassistant/components/binary_sensor/init.py)´