You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have filled out the issue template to the best of my ability.
This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
This issue is not a duplicate issue of any previous issues..
Describe the issue
A previously working integration of car_wash now is failing consistently with a system error of:
"Platform error 'binary_sensor' from integration 'car_wash' - cannot import name 'EventStateChangedData' from 'homeassistant.core'"
I have deleted the integration and re-downloaded and re-installed (same version v1.5.7) with the same results. I cannot pinpoint the exact time this started to fail, but likely after an HA update (just a guess). No hardware or other software changes have been made.
This appears to come from line 127 in binary_sensor.py.
Reproduction steps
1.Simply press "Check Configuration" in Developer Tools to see above error message.
2.
3.
...
Debug logs
Logger: homeassistant.config
Source: config.py:1437
First occurred: 9:28:52 AM (1 occurrences)
Last logged: 9:28:52 AM
Platform error: binary_sensor - cannot import name 'EventStateChangedData' from 'homeassistant.core' (/usr/src/homeassistant/homeassistant/core.py)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config.py", line 1437, in _async_load_and_validate_platform_integration
platform = await p_integration.integration.async_get_platform(domain)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1070, in async_get_platform
platforms = await self.async_get_platforms((platform_name,))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1145, in async_get_platforms
import_future.result()
File "/usr/src/homeassistant/homeassistant/loader.py", line 1133, in async_get_platforms
platforms.update(self._load_platforms(platform_names))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1060, in _load_platforms
platform_name: self._load_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1232, in _load_platform
cache[full_name] = self._import_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1264, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 995, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/config/custom_components/car_wash/binary_sensor.py", line 37, in <module>
from homeassistant.core import Event, EventStateChangedData, HomeAssistant, callback
ImportError: cannot import name 'EventStateChangedData' from 'homeassistant.core' (/usr/src/homeassistant/homeassistant/core.py)
Diagnostics dump
could not locate this file.
The text was updated successfully, but these errors were encountered:
System Health details
System Information
Home Assistant Community Store
Home Assistant Cloud
Home Assistant Supervisor
Dashboards
Recorder
Checklist
Describe the issue
A previously working integration of car_wash now is failing consistently with a system error of:
"Platform error 'binary_sensor' from integration 'car_wash' - cannot import name 'EventStateChangedData' from 'homeassistant.core'"
I have deleted the integration and re-downloaded and re-installed (same version v1.5.7) with the same results. I cannot pinpoint the exact time this started to fail, but likely after an HA update (just a guess). No hardware or other software changes have been made.
This appears to come from line 127 in binary_sensor.py.
Reproduction steps
1.Simply press "Check Configuration" in Developer Tools to see above error message.
2.
3.
...
Debug logs
Diagnostics dump
could not locate this file.
The text was updated successfully, but these errors were encountered: