Skip to content

Add validation

Add validation #7

Triggered via push May 20, 2025 15:14
Status Failure
Total duration 1m 12s
Artifacts

push.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors
Run tests
Process completed with exit code 1.
Run tests: tests/test_sensor.py#L114
test_value_error AttributeError: 'NoneType' object has no attribute 'attributes'
Run tests: tests/test_sensor.py#L79
test_max_sensor AttributeError: 'NoneType' object has no attribute 'state'
Run tests: tests/test_sensor.py#L44
test_min_sensor AttributeError: 'NoneType' object has no attribute 'state'
Run tests: tests/test_init.py#L65
test_setup assert False
Run tests: tests/test_init.py#L19
test_unload_entry AssertionError: assert <ConfigEntryState.SETUP_ERROR: 'setup_error'> is <ConfigEntryState.LOADED: 'loaded'> + where <ConfigEntryState.SETUP_ERROR: 'setup_error'> = <ConfigEntry entry_id=1 version=1 domain=label_state title=Mock Title state=ConfigEntryState.SETUP_ERROR unique_id=None>.state + and <ConfigEntryState.LOADED: 'loaded'> = ConfigEntryState.LOADED
Run tests: tests/test_config_flow.py#L24
test_form_sensor AssertionError: assert <FlowResultType.MENU: 'menu'> is <FlowResultType.FORM: 'form'> + where <FlowResultType.FORM: 'form'> = FlowResultType.FORM