We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Since upgrading HomeAssistant to use v3.2.1, several unit tests are now failing with the following exception:
tests/conftest.py:427: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.9/concurrent/futures/thread.py:58: in run result = self.fn(*self.args, **self.kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <jaraco.abode.event_controller.EventController object at 0xffff84763850>, timeline_events = 'abode_capture', callback = <bound method AbodeCamera._capture_callback of <Entity None: idle>> def add_timeline_callback(self, timeline_events, callback): """Register a callback for a specific timeline event.""" if not timeline_events: return False for timeline_event in always_iterable(timeline_events): if not isinstance(timeline_event, dict): > raise jaraco.abode.Exception(ERROR.EVENT_CODE_MISSING) E jaraco.abode.exceptions.Exception: Timeline event is not valid, event code missing. /home/vscode/.local/lib/python3.9/site-packages/jaraco/abode/event_controller.py:158: Exception
The text was updated successfully, but these errors were encountered:
Here are the specific tests that failed. I will see if I can debug further.
FAILED tests/components/abode/test_camera.py::test_entity_registry - jaraco.abode.exceptions.Exception: Timeline event is not valid, event code missing. FAILED tests/components/abode/test_camera.py::test_attributes - jaraco.abode.exceptions.Exception: Timeline event is not valid, event code missing. FAILED tests/components/abode/test_camera.py::test_capture_image - jaraco.abode.exceptions.Exception: Timeline event is not valid, event code missing. FAILED tests/components/abode/test_camera.py::test_camera_on - jaraco.abode.exceptions.Exception: Timeline event is not valid, event code missing. FAILED tests/components/abode/test_camera.py::test_camera_off - jaraco.abode.exceptions.Exception: Timeline event is not valid, event code missing. FAILED tests/components/abode/test_config_flow.py::test_step_user - jaraco.abode.exceptions.Exception: Timeline event is not valid, event code missing. FAILED tests/components/abode/test_config_flow.py::test_step_mfa - jaraco.abode.exceptions.Exception: Timeline event is not valid, event code missing. FAILED tests/components/abode/test_init.py::test_add_unique_id - jaraco.abode.exceptions.Exception: Timeline event is not valid, event code missing.
Sorry, something went wrong.
My bad. I was using Groups.CAPTURE instead of TIMELINE.CAPTURE_IMAGE in the HomeAssistant tests. Closing as PEBKAC.
Groups.CAPTURE
TIMELINE.CAPTURE_IMAGE
No branches or pull requests
Since upgrading HomeAssistant to use v3.2.1, several unit tests are now failing with the following exception:
The text was updated successfully, but these errors were encountered: