Skip to content

Migrate restore_state to use the singleton helper #190940

Migrate restore_state to use the singleton helper

Migrate restore_state to use the singleton helper #190940

Triggered via pull request May 13, 2024 21:58
Status Failure
Total duration 19m 4s
Artifacts 19

ci.yaml

on: pull_request
Collect information & changes data
12s
Collect information & changes data
Matrix: Prepare dependencies
Prepare pre-commit base
12s
Prepare pre-commit base
Check hassfest
28s
Check hassfest
Check all requirements
20s
Check all requirements
Check mypy
1m 14s
Check mypy
Split tests for full run
6m 45s
Split tests for full run
Check ruff
15s
Check ruff
Check other linters
55s
Check other linters
Check ruff-format
16s
Check ruff-format
Matrix: pytest-full
Matrix: pytest-mariadb
Matrix: pytest-partial
Matrix: pytest-postgres
Upload test coverage to Codecov (partial suite)
0s
Upload test coverage to Codecov (partial suite)
Upload test coverage to Codecov (full suite)
0s
Upload test coverage to Codecov (full suite)
Fit to window
Zoom out
Zoom in

Annotations

131 errors
Run mariadb:10.10.3 tests Python 3.12: tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[abc123-str-extra_data0-None-None] AssertionError: assert None == 'abc123' + where None = <entity sensor.test=unknown>.native_value
Run mariadb:10.10.3 tests Python 3.12: tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[123-int-extra_data1-temperature-\xb0F] assert None == 123 + where None = <entity sensor.test=unknown>.native_value
Run mariadb:10.10.3 tests Python 3.12: tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[123.0-float-extra_data2-temperature-\xb0F] assert None == 123.0 + where None = <entity sensor.test=unknown>.native_value
Run mariadb:10.10.3 tests Python 3.12: tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[native_value3-date-extra_data3-date-None] assert None == datetime.date(2020, 2, 8) + where None = <entity sensor.test=unknown>.native_value
Run mariadb:10.10.3 tests Python 3.12: tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[native_value4-datetime-extra_data4-timestamp-None] assert None == datetime.datetime(2020, 2, 8, 15, 0, tzinfo=datetime.timezone.utc) + where None = <entity sensor.test=unknown>.native_value
Run mariadb:10.10.3 tests Python 3.12: tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[native_value5-Decimal-extra_data5-energy-kWh] AssertionError: assert None == Decimal('123.4') + where None = <entity sensor.test=unknown>.native_value
Run mariadb:10.10.3 tests Python 3.12
Process completed with exit code 1.
Run mariadb:10.11.2 tests Python 3.12: tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[abc123-str-extra_data0-None-None] AssertionError: assert None == 'abc123' + where None = <entity sensor.test=unknown>.native_value
Run mariadb:10.11.2 tests Python 3.12: tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[123-int-extra_data1-temperature-\xb0F] assert None == 123 + where None = <entity sensor.test=unknown>.native_value
Run mariadb:10.11.2 tests Python 3.12: tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[123.0-float-extra_data2-temperature-\xb0F] assert None == 123.0 + where None = <entity sensor.test=unknown>.native_value
Run mariadb:10.11.2 tests Python 3.12: tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[native_value3-date-extra_data3-date-None] assert None == datetime.date(2020, 2, 8) + where None = <entity sensor.test=unknown>.native_value
Run mariadb:10.11.2 tests Python 3.12: tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[native_value4-datetime-extra_data4-timestamp-None] assert None == datetime.datetime(2020, 2, 8, 15, 0, tzinfo=datetime.timezone.utc) + where None = <entity sensor.test=unknown>.native_value
Run mariadb:10.11.2 tests Python 3.12: tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[native_value5-Decimal-extra_data5-energy-kWh] AssertionError: assert None == Decimal('123.4') + where None = <entity sensor.test=unknown>.native_value
Run mariadb:10.11.2 tests Python 3.12
Process completed with exit code 1.
Run mariadb:10.6.10 tests Python 3.12: tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[abc123-str-extra_data0-None-None] AssertionError: assert None == 'abc123' + where None = <entity sensor.test=unknown>.native_value
Run mariadb:10.6.10 tests Python 3.12: tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[123-int-extra_data1-temperature-\xb0F] assert None == 123 + where None = <entity sensor.test=unknown>.native_value
Run mariadb:10.6.10 tests Python 3.12: tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[123.0-float-extra_data2-temperature-\xb0F] assert None == 123.0 + where None = <entity sensor.test=unknown>.native_value
Run mariadb:10.6.10 tests Python 3.12: tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[native_value3-date-extra_data3-date-None] assert None == datetime.date(2020, 2, 8) + where None = <entity sensor.test=unknown>.native_value
Run mariadb:10.6.10 tests Python 3.12: tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[native_value4-datetime-extra_data4-timestamp-None] assert None == datetime.datetime(2020, 2, 8, 15, 0, tzinfo=datetime.timezone.utc) + where None = <entity sensor.test=unknown>.native_value
Run mariadb:10.6.10 tests Python 3.12: tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[native_value5-Decimal-extra_data5-energy-kWh] AssertionError: assert None == Decimal('123.4') + where None = <entity sensor.test=unknown>.native_value
Run mariadb:10.6.10 tests Python 3.12
Process completed with exit code 1.
Run mariadb:10.3.32 tests Python 3.12: tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[abc123-str-extra_data0-None-None] AssertionError: assert None == 'abc123' + where None = <entity sensor.test=unknown>.native_value
Run mariadb:10.3.32 tests Python 3.12: tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[123-int-extra_data1-temperature-\xb0F] assert None == 123 + where None = <entity sensor.test=unknown>.native_value
Run mariadb:10.3.32 tests Python 3.12: tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[123.0-float-extra_data2-temperature-\xb0F] assert None == 123.0 + where None = <entity sensor.test=unknown>.native_value
Run mariadb:10.3.32 tests Python 3.12: tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[native_value3-date-extra_data3-date-None] assert None == datetime.date(2020, 2, 8) + where None = <entity sensor.test=unknown>.native_value
Run mariadb:10.3.32 tests Python 3.12: tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[native_value4-datetime-extra_data4-timestamp-None] assert None == datetime.datetime(2020, 2, 8, 15, 0, tzinfo=datetime.timezone.utc) + where None = <entity sensor.test=unknown>.native_value
Run mariadb:10.3.32 tests Python 3.12: tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[native_value5-Decimal-extra_data5-energy-kWh] AssertionError: assert None == Decimal('123.4') + where None = <entity sensor.test=unknown>.native_value
Run mariadb:10.3.32 tests Python 3.12
Process completed with exit code 1.
Run postgres:12.14 tests Python 3.12: tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[abc123-str-extra_data0-None-None] AssertionError: assert None == 'abc123' + where None = <entity sensor.test=unknown>.native_value
Run postgres:12.14 tests Python 3.12: tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[123-int-extra_data1-temperature-\xb0F] assert None == 123 + where None = <entity sensor.test=unknown>.native_value
Run postgres:12.14 tests Python 3.12: tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[123.0-float-extra_data2-temperature-\xb0F] assert None == 123.0 + where None = <entity sensor.test=unknown>.native_value
Run postgres:12.14 tests Python 3.12: tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[native_value3-date-extra_data3-date-None] assert None == datetime.date(2020, 2, 8) + where None = <entity sensor.test=unknown>.native_value
Run postgres:12.14 tests Python 3.12: tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[native_value4-datetime-extra_data4-timestamp-None] assert None == datetime.datetime(2020, 2, 8, 15, 0, tzinfo=datetime.timezone.utc) + where None = <entity sensor.test=unknown>.native_value
Run postgres:12.14 tests Python 3.12: tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[native_value5-Decimal-extra_data5-energy-kWh] AssertionError: assert None == Decimal('123.4') + where None = <entity sensor.test=unknown>.native_value
Run postgres:12.14 tests Python 3.12
Process completed with exit code 1.
Run postgres:15.2 tests Python 3.12: tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[abc123-str-extra_data0-None-None] AssertionError: assert None == 'abc123' + where None = <entity sensor.test=unknown>.native_value
Run postgres:15.2 tests Python 3.12: tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[123-int-extra_data1-temperature-\xb0F] assert None == 123 + where None = <entity sensor.test=unknown>.native_value
Run postgres:15.2 tests Python 3.12: tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[123.0-float-extra_data2-temperature-\xb0F] assert None == 123.0 + where None = <entity sensor.test=unknown>.native_value
Run postgres:15.2 tests Python 3.12: tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[native_value3-date-extra_data3-date-None] assert None == datetime.date(2020, 2, 8) + where None = <entity sensor.test=unknown>.native_value
Run postgres:15.2 tests Python 3.12: tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[native_value4-datetime-extra_data4-timestamp-None] assert None == datetime.datetime(2020, 2, 8, 15, 0, tzinfo=datetime.timezone.utc) + where None = <entity sensor.test=unknown>.native_value
Run postgres:15.2 tests Python 3.12: tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[native_value5-Decimal-extra_data5-energy-kWh] AssertionError: assert None == Decimal('123.4') + where None = <entity sensor.test=unknown>.native_value
Run postgres:15.2 tests Python 3.12
Process completed with exit code 1.
Run mysql:8.0.32 tests Python 3.12: tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[abc123-str-extra_data0-None-None] AssertionError: assert None == 'abc123' + where None = <entity sensor.test=unknown>.native_value
Run mysql:8.0.32 tests Python 3.12: tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[123-int-extra_data1-temperature-\xb0F] assert None == 123 + where None = <entity sensor.test=unknown>.native_value
Run mysql:8.0.32 tests Python 3.12: tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[123.0-float-extra_data2-temperature-\xb0F] assert None == 123.0 + where None = <entity sensor.test=unknown>.native_value
Run mysql:8.0.32 tests Python 3.12: tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[native_value3-date-extra_data3-date-None] assert None == datetime.date(2020, 2, 8) + where None = <entity sensor.test=unknown>.native_value
Run mysql:8.0.32 tests Python 3.12: tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[native_value4-datetime-extra_data4-timestamp-None] assert None == datetime.datetime(2020, 2, 8, 15, 0, tzinfo=datetime.timezone.utc) + where None = <entity sensor.test=unknown>.native_value
Run mysql:8.0.32 tests Python 3.12: tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[native_value5-Decimal-extra_data5-energy-kWh] AssertionError: assert None == Decimal('123.4') + where None = <entity sensor.test=unknown>.native_value
Run mysql:8.0.32 tests Python 3.12
Process completed with exit code 1.
Run tests Python 3.12 (1): tests/components/mqtt/test_init.py#L348
test_command_template_variables[config0] AssertionError: assert (<state select.test_select=unknown; options=['milk', 'beer'], assumed_state=True, friendly_name=Test Select @ 2024-05-13T15:07:30.337468-07:00> and 'unknown' == 'milk' - milk + unknown)
Run tests Python 3.12 (1): tests/components/mqtt/test_light.py#L1020
test_sending_mqtt_commands_and_optimistic[hass_config0] AssertionError: assert 'unknown' == 'on' - on + unknown
Run tests Python 3.12 (1): tests/components/mqtt/test_light_json.py#L1072
test_sending_mqtt_commands_and_optimistic[hass_config0] AssertionError: assert 'unknown' == 'on' - on + unknown
Run tests Python 3.12 (1): tests/components/mqtt/test_light_json.py#L1227
test_sending_mqtt_commands_and_optimistic2[hass_config0] AssertionError: assert 'unknown' == 'on' - on + unknown
Run tests Python 3.12 (1): tests/components/mqtt/test_light_template.py#L443
test_sending_mqtt_commands_and_optimistic[hass_config0] AssertionError: assert 'unknown' == 'on' - on + unknown
Run tests Python 3.12 (1): tests/components/mqtt/test_number.py#L245
test_restore_native_value[hass_config0] AssertionError: assert 'unknown' == '37.8' - 37.8 + unknown
Run tests Python 3.12 (1): tests/components/mqtt/test_number.py#L283
test_run_number_service_optimistic[hass_config0] AssertionError: assert 'unknown' == '3' - 3 + unknown
Run tests Python 3.12 (1): tests/components/mqtt/test_number.py#L360
test_run_number_service_optimistic_with_command_template[hass_config0] AssertionError: assert 'unknown' == '3' - 3 + unknown
Run tests Python 3.12 (1): tests/components/mqtt/test_lawn_mower.py#L225
test_run_lawn_mower_service_optimistic[hass_config0] AssertionError: assert 'unknown' == 'docked' - docked + unknown
Run tests Python 3.12 (1): tests/components/mqtt/test_lawn_mower.py#L323
test_run_lawn_mower_service_optimistic_with_command_templates[hass_config0] AssertionError: assert 'unknown' == 'docked' - docked + unknown
Run tests Python 3.12 (7): tests/components/template/test_binary_sensor.py#L1050
test_restore_state[extra_config4-on-on-config0-1-template] AssertionError: assert 'unknown' == 'on' - on + unknown
Run tests Python 3.12 (7): tests/components/template/test_binary_sensor.py#L1050
test_restore_state[extra_config5-off-off-config0-1-template] AssertionError: assert 'unknown' == 'off' - off + unknown
Run tests Python 3.12 (7): tests/components/template/test_binary_sensor.py#L1050
test_restore_state[extra_config8-on-on-config0-1-template] AssertionError: assert 'unknown' == 'on' - on + unknown
Run tests Python 3.12 (7): tests/components/template/test_binary_sensor.py#L1050
test_restore_state[extra_config9-off-off-config0-1-template] AssertionError: assert 'unknown' == 'off' - off + unknown
Run tests Python 3.12 (7): tests/components/template/test_binary_sensor.py#L1275
test_trigger_entity_restore_state[on-on-initial_attributes0-config0-1-template] AssertionError: assert 'unknown' == 'on' - on + unknown
Run tests Python 3.12 (7): tests/components/template/test_binary_sensor.py#L1275
test_trigger_entity_restore_state[off-off-initial_attributes1-config0-1-template] AssertionError: assert 'unknown' == 'off' - off + unknown
Run tests Python 3.12 (7): tests/components/template/test_binary_sensor.py#L1347
test_trigger_entity_restore_state_auto_off[on-config0-1-template] AssertionError: assert 'unknown' == 'on' - on + unknown
Run tests Python 3.12 (7): tests/components/template/test_binary_sensor.py#L1347
test_trigger_entity_restore_state_auto_off[off-config0-1-template] AssertionError: assert 'unknown' == 'off' - off + unknown
Run tests Python 3.12 (7): tests/components/template/test_binary_sensor.py#L1405
test_trigger_entity_restore_state_auto_off_expired[config0-1-template] AssertionError: assert 'unknown' == 'off' - off + unknown
Run tests Python 3.12 (7): tests/components/template/test_sensor.py#L1830
test_trigger_entity_restore_state[dog-10-10-initial_attributes0-config0-1-template] AssertionError: assert 'unknown' == '10' - 10 + unknown
Run tests Python 3.12 (10): tests/components/here_travel_time/test_sensor.py#L599
test_restore_state AssertionError: assert 'unknown' == '1234' - 1234 + unknown
Run tests Python 3.12 (10): tests/components/input_button/test_init.py#L107
test_restore_state AssertionError: assert 'unknown' == '2021-01-01T23:59:59+00:00' - 2021-01-01T23:59:59+00:00 + unknown
Run tests Python 3.12 (10)
Process completed with exit code 1.
Run tests Python 3.12 (3): tests/components/utility_meter/test_sensor.py#L840
test_restore_state[yaml_config0-None] AssertionError: assert 'unknown' == '0.2' - 0.2 + unknown
Run tests Python 3.12 (3): tests/components/utility_meter/test_sensor.py#L840
test_restore_state[None-config_entry_config1] AssertionError: assert 'unknown' == '0.2' - 0.2 + unknown
Run tests Python 3.12 (3): tests/components/utility_meter/test_sensor.py#L963
test_service_reset_no_tariffs[yaml_config0-None] AssertionError: assert 'unknown' == '3' - 3 + unknown
Run tests Python 3.12 (3): tests/components/utility_meter/test_sensor.py#L963
test_service_reset_no_tariffs[None-config_entry_config1] AssertionError: assert 'unknown' == '3' - 3 + unknown
Run tests Python 3.12 (3): tests/components/utility_meter/test_sensor.py#L1084
test_service_reset_no_tariffs_correct_with_multi[yaml_config0-None] AssertionError: assert 'unknown' == '3' - 3 + unknown
Run tests Python 3.12 (3): tests/components/utility_meter/test_sensor.py#L1084
test_service_reset_no_tariffs_correct_with_multi[None-config_entry_configs1] AssertionError: assert 'unknown' == '3' - 3 + unknown
Run tests Python 3.12 (3): tests/components/flux/test_switch.py#L74
test_restore_state_last_on AssertionError: assert 'off' == 'on' - on + off
Run tests Python 3.12 (3): tests/components/utility_meter/test_init.py#L60
test_restore_state AssertionError: assert 'onpeak' == 'midpeak' - midpeak + onpeak
Run tests Python 3.12 (3)
Process completed with exit code 1.
Run tests Python 3.12 (5): tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[abc123-str-extra_data0-None-None] AssertionError: assert None == 'abc123' + where None = <entity sensor.test=unknown>.native_value
Run tests Python 3.12 (5): tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[123-int-extra_data1-temperature-\xb0F] assert None == 123 + where None = <entity sensor.test=unknown>.native_value
Run tests Python 3.12 (5): tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[123.0-float-extra_data2-temperature-\xb0F] assert None == 123.0 + where None = <entity sensor.test=unknown>.native_value
Run tests Python 3.12 (5): tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[native_value3-date-extra_data3-date-None] assert None == datetime.date(2020, 2, 8) + where None = <entity sensor.test=unknown>.native_value
Run tests Python 3.12 (5): tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[native_value4-datetime-extra_data4-timestamp-None] assert None == datetime.datetime(2020, 2, 8, 15, 0, tzinfo=datetime.timezone.utc) + where None = <entity sensor.test=unknown>.native_value
Run tests Python 3.12 (5): tests/components/sensor/test_init.py#L481
test_restore_sensor_restore_state[native_value5-Decimal-extra_data5-energy-kWh] AssertionError: assert None == Decimal('123.4') + where None = <entity sensor.test=unknown>.native_value
Run tests Python 3.12 (5): tests/components/device_tracker/test_init.py#L650
test_async_added_to_hass AssertionError: assert 'not_home' == 'home' - home + not_home
Run tests Python 3.12 (5): tests/components/trend/test_binary_sensor.py#L311
test_restore_state[on-on] AssertionError: assert 'unknown' == 'on' - on + unknown
Run tests Python 3.12 (5): tests/components/trend/test_binary_sensor.py#L311
test_restore_state[off-off] AssertionError: assert 'unknown' == 'off' - off + unknown
Run tests Python 3.12 (5): tests/components/input_select/test_init.py#L386
test_restore_state AssertionError: assert 'first option' == 'last option' - last option ? ^^ + first option ? ^^^
Run tests Python 3.12 (6): tests/components/automation/test_init.py#L1415
test_automation_restore_state AssertionError: assert 'on' == 'off' - off + on
Run tests Python 3.12 (6): tests/components/automation/test_init.py#L1552
test_no_initial_value_and_restore_off AssertionError: assert not True + where True = <function is_on at 0x7f9d9da3a520>(<HomeAssistant RUNNING>, 'automation.hello') + where <function is_on at 0x7f9d9da3a520> = automation.is_on
Run tests Python 3.12 (6): tests/components/automation/test_init.py#L1799
test_automation_restore_last_triggered_with_initial_state assert None == datetime.datetime(2024, 5, 13, 22, 7, 41, 782864, tzinfo=datetime.timezone.utc)
Run tests Python 3.12 (6): tests/components/generic_thermostat/test_climate.py#L1271
test_restore_state[off] assert 7 == 20
Run tests Python 3.12 (6): tests/components/generic_thermostat/test_climate.py#L1271
test_restore_state[heat] assert 7 == 20
Run tests Python 3.12 (6): tests/components/generic_thermostat/test_climate.py#L1271
test_restore_state[cool] assert 7 == 20
Run tests Python 3.12 (6): tests/components/generic_thermostat/test_climate.py#L1375
test_restore_will_turn_off_ AssertionError: assert 'off' == 'on' - on + off
Run tests Python 3.12 (6): tests/components/generic_thermostat/test_climate.py#L1452
test_restore_will_turn_off_when_loaded_second assert 0 == 1 + where 0 = len([])
Run tests Python 3.12 (6): tests/components/generic_thermostat/test_climate.py#L1473
test_restore_state_uncoherence_case assert 35 == 20
Run tests Python 3.12 (6): tests/components/shelly/test_sensor.py#L203
test_block_restored_sleeping_sensor AssertionError: assert 'unknown' == '20.4' - 20.4 + unknown
Run tests Python 3.12 (4): tests/components/tts/test_init.py#L139
test_restore_state AssertionError: assert 'unknown' == '2023-01-01T23:59:59+00:00' - 2023-01-01T23:59:59+00:00 + unknown
Run tests Python 3.12 (4): tests/components/number/test_init.py#L644
test_restore_number_restore_state[200.0--10.0-2.0-123.0-float-extra_data0-temperature-\xb0F] assert 100.0 == 200.0 + where 100.0 = <entity number.test=unknown>.native_max_value
Run tests Python 3.12 (4): tests/components/input_text/test_init.py#L177
test_restore_state AssertionError: assert 'unknown' == 'test' - test + unknown
Run tests Python 3.12 (4): tests/components/zha/test_cover.py#L873
test_shade_restore_state AssertionError: assert 'unknown' == 'open' - open + unknown
Run tests Python 3.12 (4): tests/components/dynalite/test_cover.py#L145
test_cover_restore_state AssertionError: Expected 'mock' to be called once. Called 0 times.
Run tests Python 3.12 (4): tests/components/dynalite/test_light.py#L99
test_light_restore_state AssertionError: Expected 'mock' to be called once. Called 0 times.
Run tests Python 3.12 (4): tests/components/button/test_init.py#L107
test_restore_state AssertionError: assert 'unknown' == '2021-01-01T23:59:59+00:00' - 2021-01-01T23:59:59+00:00 + unknown
Run tests Python 3.12 (4): tests/components/dynalite/test_switch.py#L67
test_switch_restore_state[on-1] AssertionError: Expected 'mock' to be called once. Called 0 times.
Run tests Python 3.12 (4): tests/components/dynalite/test_switch.py#L67
test_switch_restore_state[off-0] AssertionError: Expected 'mock' to be called once. Called 0 times.
Run tests Python 3.12 (4)
Process completed with exit code 1.
Run tests Python 3.12 (8): tests/components/modbus/test_binary_sensor.py#L260
test_restore_state_binary_sensor[do_config0-mock_test_state0] AssertionError: assert 'unknown' == 'on' - on + unknown
Run tests Python 3.12 (8): tests/components/manual/test_alarm_control_panel.py#L1245
test_restore_state[armed_away] AssertionError: assert 'disarmed' == 'armed_away' - armed_away + disarmed
Run tests Python 3.12 (8): tests/components/manual/test_alarm_control_panel.py#L1245
test_restore_state[armed_custom_bypass] AssertionError: assert 'disarmed' == 'armed_custom_bypass' - armed_custom_bypass + disarmed
Run tests Python 3.12 (8): tests/components/manual/test_alarm_control_panel.py#L1245
test_restore_state[armed_home] AssertionError: assert 'disarmed' == 'armed_home' - armed_home + disarmed
Run tests Python 3.12 (8): tests/components/manual/test_alarm_control_panel.py#L1245
test_restore_state[armed_night] AssertionError: assert 'disarmed' == 'armed_night' - armed_night + disarmed
Run tests Python 3.12 (8): tests/components/manual/test_alarm_control_panel.py#L1245
test_restore_state[armed_vacation] AssertionError: assert 'disarmed' == 'armed_vacation' - armed_vacation + disarmed
Run tests Python 3.12 (8): tests/components/manual/test_alarm_control_panel.py#L1290
test_restore_state_arming[armed_away] KeyError: 'previous_state'
Run tests Python 3.12 (8): tests/components/manual/test_alarm_control_panel.py#L1290
test_restore_state_arming[armed_custom_bypass] KeyError: 'previous_state'
Run tests Python 3.12 (8): tests/components/manual/test_alarm_control_panel.py#L1290
test_restore_state_arming[armed_home] KeyError: 'previous_state'
Run tests Python 3.12 (8): tests/components/manual/test_alarm_control_panel.py#L1290
test_restore_state_arming[armed_night] KeyError: 'previous_state'
Run tests Python 3.12 (9): tests/components/generic_hygrostat/test_humidifier.py#L1467
test_restore_state_target_humidity assert 50.0 == 40
Run tests Python 3.12 (9): tests/components/generic_hygrostat/test_humidifier.py#L1509
test_restore_state_and_return_to_normal assert 0 == 40
Run tests Python 3.12 (9): tests/components/generic_hygrostat/test_humidifier.py#L1565
test_no_restore_state assert 42.0 == 40
Run tests Python 3.12 (9): tests/components/generic_hygrostat/test_humidifier.py#L1583
test_restore_state_uncoherence_case assert 100 == 40
Run tests Python 3.12 (9): tests/components/script/test_init.py#L1230
test_script_restore_last_triggered assert None == datetime.datetime(2024, 5, 13, 22, 8, 10, 498502, tzinfo=datetime.timezone.utc)
Run tests Python 3.12 (9): tests/components/webostv/test_media_player.py#L595
test_cached_supported_features assert <MediaPlayerE...P|PLAY: 24381> == <MediaPlayerE...P|PLAY: 24377> Full diff: - <MediaPlayerEntityFeature.PAUSE|VOLUME_MUTE|PREVIOUS_TRACK|NEXT_TRACK|TURN_OFF|PLAY_MEDIA|VOLUME_STEP|SELECT_SOURCE|STOP|PLAY: 24377> ? ^^ + <MediaPlayerEntityFeature.PAUSE|VOLUME_SET|VOLUME_MUTE|PREVIOUS_TRACK|NEXT_TRACK|TURN_OFF|PLAY_MEDIA|VOLUME_STEP|SELECT_SOURCE|STOP|PLAY: 24381> ? +++++++++++ ^^
Run tests Python 3.12 (9): tests/components/zwave_js/test_update.py#L702
test_update_entity_partial_restore_data AssertionError: assert 'off' == 'unknown' - unknown + off
Run tests Python 3.12 (9): tests/components/zwave_js/test_update.py#L736
test_update_entity_partial_restore_data_2 AssertionError: assert 'off' == 'unknown' - unknown + off
Run tests Python 3.12 (9): tests/components/zwave_js/test_update.py#L773
test_update_entity_full_restore_data_skipped_version AssertionError: assert None == '11.2.4'

Artifacts

Produced during runtime
Name Size
coverage-3.12-2
598 KB
pytest-190940-3.12-1
12.8 KB
pytest-190940-3.12-10
2.71 KB
pytest-190940-3.12-2
1.33 KB
pytest-190940-3.12-3
4.62 KB
pytest-190940-3.12-4
7.92 KB
pytest-190940-3.12-5
10.3 KB
pytest-190940-3.12-6
15.5 KB
pytest-190940-3.12-7
14.5 KB
pytest-190940-3.12-8
8.55 KB
pytest-190940-3.12-9
19.1 KB
pytest-190940-3.12-mariadb-10.10.3
4.42 KB
pytest-190940-3.12-mariadb-10.11.2
4.41 KB
pytest-190940-3.12-mariadb-10.3.32
4.38 KB
pytest-190940-3.12-mariadb-10.6.10
4.4 KB
pytest-190940-3.12-mysql-8.0.32
4.38 KB
pytest-190940-3.12-postgres-12.14
4.08 KB
pytest-190940-3.12-postgres-15.2
4.09 KB
pytest_buckets
5.67 KB