Skip to content

Bump zigpy from 0.66.0 to 0.67.0 #549

Bump zigpy from 0.66.0 to 0.67.0

Bump zigpy from 0.66.0 to 0.67.0 #549

Triggered via pull request September 25, 2024 13:33
Status Failure
Total duration 3m 48s
Artifacts

ci.yml

on: pull_request
Matrix: shared-ci / Prepare base dependencies
Matrix: shared-ci / pytest
shared-ci  /  Run pre-commit
19s
shared-ci / Run pre-commit
shared-ci  /  Process test coverage
0s
shared-ci / Process test coverage
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 3 warnings
shared-ci / Run tests Python 3.12: tests/test_discover.py#L811
test_quirks_v2_entity_discovery_errors assert "Device: 01:2d:6f:00:0a:90:69:e8-Ikea of Sweden3 TRADFRI remote control3 has an entity with details: {'cluster_details... unit=None, device_class=None, state_class=None)} that does not have an entity class mapping - unable to create entity" in "DEBUG zigpy.quirks.registry:registry.py:132 Checking quirks for Ikea of Sweden3 TRADFRI remote control3 (01:2d:6f:....INITIALIZED: 4>), new_join=False, event_type='zha_gateway_message', event='device_fully_initialized') (0 listeners)\n" + where "DEBUG zigpy.quirks.registry:registry.py:132 Checking quirks for Ikea of Sweden3 TRADFRI remote control3 (01:2d:6f:....INITIALIZED: 4>), new_join=False, event_type='zha_gateway_message', event='device_fully_initialized') (0 listeners)\n" = <_pytest.logging.LogCaptureFixture object at 0x7f9b969aa510>.text
shared-ci / Run tests Python 3.12: tests/test_discover.py#L948
test_quirks_v2_metadata_errors[bad_device_class_unit_combination-validate_device_class_unit-cannot have both unit and device_class] AssertionError: Regex pattern did not match. Regex: 'cannot have both unit and device_class' Input: "device_class and unit are both set - unit: invalid device_class: invalid for SENSOR QuirksV2RegistryEntry(quirk_file=PosixPath('/home/runner/work/zha/zha/tests/test_discover.py'), quirk_file_line=702, manufacturer_model_metadata=(ManufacturerModelMetadata(manufacturer='Ikea of Sweden4', model='TRADFRI remote control4'),), filters=(), custom_device_class=None, device_node_descriptor=None, skip_device_configuration=False, adds_metadata=(), removes_metadata=(), replaces_metadata=(ReplacesMetadata(remove=RemovesMetadata(cluster_id=1, endpoint_id=1, cluster_type=<ClusterType.Server: 0>), add=AddsMetadata(cluster=<class 'zhaquirks.ikea.PowerConfig1CRCluster'>, endpoint_id=1, cluster_type=<ClusterType.Server: 0>, constant_attributes=frozendict.frozendict({}))), ReplacesMetadata(remove=RemovesMetadata(cluster_id=5, endpoint_id=1, cluster_type=<ClusterType.Client: 1>), add=AddsMetadata(cluster=<class 'zhaquirks.ikea.ScenesCluster'>, endpoint_id=1, cluster_type=<ClusterType.Client: 1>, constant_attributes=frozendict.frozendict({})))), replaces_cluster_occurrences_metadata=(), entity_metadata=(NumberMetadata(entity_platform=<EntityPlatform.NUMBER: 'number'>, entity_type=<EntityType.CONFIG: 'config'>, cluster_id=6, endpoint_id=3, cluster_type=<ClusterType.Server: 0>, initially_disabled=False, attribute_initialized_from_cache=True, translation_key='on_off_transition_time', fallback_name=None, attribute_name='off_wait_time', min=1, max=100, step=1, unit=<UnitOfTime.SECONDS: 's'>, mode=None, multiplier=1, device_class=None), NumberMetadata(entity_platform=<EntityPlatform.NUMBER: 'number'>, entity_type=<EntityType.CONFIG: 'config'>, cluster_id=10, endpoint_id=1, cluster_type=<ClusterType.Server: 0>, initially_disabled=False, attribute_initialized_from_cache=True, translation_key='on_off_transition_time', fallback_name=None, attribute_name='off_wait_time', min=1, max=100, step=1, unit=<UnitOfTime.SECONDS: 's'>, mode=None, multiplier=1, device_class=None), ZCLSensorMetadata(entity_platform=<EntityPlatform.SENSOR: 'sensor'>, entity_type=<EntityType.CONFIG: 'config'>, cluster_id=6, endpoint_id=1, cluster_type=<ClusterType.Server: 0>, initially_disabled=False, attribute_initialized_from_cache=True, translation_key='analog_input', fallback_name=None, attribute_name='off_wait_time', divisor=1, multiplier=1, unit=None, device_class=None, state_class=None), ZCLSensorMetadata(entity_platform=<EntityPlatform.SENSOR: 'sensor'>, entity_type=<EntityType.CONFIG: 'config'>, cluster_id=6, endpoint_id=1, cluster_type=<ClusterType.Server: 0>, initially_disabled=False, attribute_initialized_from_cache=True, translation_key='analog_input', fallback_name=None, attribute_name='off_wait_time', divisor=1, multiplier=1, unit='invalid', device_class='invalid', state_class=None)), device_automation_triggers_metadata=frozendict.frozendict({}))"
shared-ci / Run tests Python 3.12: tests/test_discover.py#L945
test_quirks_v2_metadata_errors[bad_device_class_translation_key_usage-validate_translation_keys_device_class-cannot have both a translation_key and a device_class] ValueError: translation_key and device_class are both set - translation_key: analog_input device_class: invalid for SENSOR QuirksV2RegistryEntry(quirk_file=PosixPath('/home/runner/work/zha/zha/tests/test_discover.py'), quirk_file_line=702, manufacturer_model_metadata=(ManufacturerModelMetadata(manufacturer='Ikea of Sweden4', model='TRADFRI remote control4'),), filters=(), custom_device_class=None, device_node_descriptor=None, skip_device_configuration=False, adds_metadata=(), removes_metadata=(), replaces_metadata=(ReplacesMetadata(remove=RemovesMetadata(cluster_id=1, endpoint_id=1, cluster_type=<ClusterType.Server: 0>), add=AddsMetadata(cluster=<class 'zhaquirks.ikea.PowerConfig1CRCluster'>, endpoint_id=1, cluster_type=<ClusterType.Server: 0>, constant_attributes=frozendict.frozendict({}))), ReplacesMetadata(remove=RemovesMetadata(cluster_id=5, endpoint_id=1, cluster_type=<ClusterType.Client: 1>), add=AddsMetadata(cluster=<class 'zhaquirks.ikea.ScenesCluster'>, endpoint_id=1, cluster_type=<ClusterType.Client: 1>, constant_attributes=frozendict.frozendict({})))), replaces_cluster_occurrences_metadata=(), entity_metadata=(NumberMetadata(entity_platform=<EntityPlatform.NUMBER: 'number'>, entity_type=<EntityType.CONFIG: 'config'>, cluster_id=6, endpoint_id=3, cluster_type=<ClusterType.Server: 0>, initially_disabled=False, attribute_initialized_from_cache=True, translation_key='on_off_transition_time', fallback_name=None, attribute_name='off_wait_time', min=1, max=100, step=1, unit=<UnitOfTime.SECONDS: 's'>, mode=None, multiplier=1, device_class=None), NumberMetadata(entity_platform=<EntityPlatform.NUMBER: 'number'>, entity_type=<EntityType.CONFIG: 'config'>, cluster_id=10, endpoint_id=1, cluster_type=<ClusterType.Server: 0>, initially_disabled=False, attribute_initialized_from_cache=True, translation_key='on_off_transition_time', fallback_name=None, attribute_name='off_wait_time', min=1, max=100, step=1, unit=<UnitOfTime.SECONDS: 's'>, mode=None, multiplier=1, device_class=None), ZCLSensorMetadata(entity_platform=<EntityPlatform.SENSOR: 'sensor'>, entity_type=<EntityType.CONFIG: 'config'>, cluster_id=6, endpoint_id=1, cluster_type=<ClusterType.Server: 0>, initially_disabled=False, attribute_initialized_from_cache=True, translation_key='analog_input', fallback_name=None, attribute_name='off_wait_time', divisor=1, multiplier=1, unit=None, device_class=None, state_class=None), ZCLSensorMetadata(entity_platform=<EntityPlatform.SENSOR: 'sensor'>, entity_type=<EntityType.CONFIG: 'config'>, cluster_id=6, endpoint_id=1, cluster_type=<ClusterType.Server: 0>, initially_disabled=False, attribute_initialized_from_cache=True, translation_key='analog_input', fallback_name=None, attribute_name='off_wait_time', divisor=1, multiplier=1, unit='invalid', device_class='invalid', state_class=None)), device_automation_triggers_metadata=frozendict.frozendict({}))
shared-ci / Run tests Python 3.12: tests/test_discover.py#L1123
test_devices_from_files[inovelli-vzm31-sn.json] AssertionError: assert 49 == 44 + where 49 = len({(<Platform.BUTTON: 'button'>, '04:0d:84:ff:fe:02:9d:6d-1-3'): <zha.application.platforms.button.IdentifyButton object...:02:9d:6d-1-64561-button_delay'): <zha.application.platforms.number.InovelliButtonDelay object at 0x7f9b856d4c20>, ...}) + where {(<Platform.BUTTON: 'button'>, '04:0d:84:ff:fe:02:9d:6d-1-3'): <zha.application.platforms.button.IdentifyButton object...:02:9d:6d-1-64561-button_delay'): <zha.application.platforms.number.InovelliButtonDelay object at 0x7f9b856d4c20>, ...} = <InovelliVZM31SNv12 model='VZM31-SN' manuf='Inovelli' nwk=0x49FA ieee=04:0d:84:ff:fe:02:9d:6d is_initialized=True> - quirk_applied: True - quirk_or_device_class: zhaquirks.inovelli.VZM31SN.InovelliVZM31SNv12 - quirk_id: None.platform_entities
shared-ci / Run tests Python 3.12: tests/test_discover.py#L1123
test_devices_from_files[inovelli-vzm35-sn.json] AssertionError: assert 45 == 40 + where 45 = len({(<Platform.BUTTON: 'button'>, '04:87:27:ff:fe:19:2b:8d-1-3'): <zha.application.platforms.button.IdentifyButton object...:19:2b:8d-1-64561-button_delay'): <zha.application.platforms.number.InovelliButtonDelay object at 0x7f9b8491eff0>, ...}) + where {(<Platform.BUTTON: 'button'>, '04:87:27:ff:fe:19:2b:8d-1-3'): <zha.application.platforms.button.IdentifyButton object...:19:2b:8d-1-64561-button_delay'): <zha.application.platforms.number.InovelliButtonDelay object at 0x7f9b8491eff0>, ...} = <InovelliVZM35SN model='VZM35-SN' manuf='Inovelli' nwk=0xF623 ieee=04:87:27:ff:fe:19:2b:8d is_initialized=True> - quirk_applied: True - quirk_or_device_class: zhaquirks.inovelli.VZM35SN.InovelliVZM35SN - quirk_id: None.platform_entities
shared-ci / Run tests Python 3.12: tests/test_discover.py#L1123
test_devices_from_files[inovelli-vzm36.json] AssertionError: assert 22 == 18 + where 22 = len({(<Platform.BUTTON: 'button'>, '88:1a:14:ff:fe:41:27:43-1-3'): <zha.application.platforms.button.IdentifyButton object...m.LIGHT: 'light'>, '88:1a:14:ff:fe:41:27:43-2'): <zha.application.platforms.light.Light object at 0x7f9b82076000>, ...}) + where {(<Platform.BUTTON: 'button'>, '88:1a:14:ff:fe:41:27:43-1-3'): <zha.application.platforms.button.IdentifyButton object...m.LIGHT: 'light'>, '88:1a:14:ff:fe:41:27:43-2'): <zha.application.platforms.light.Light object at 0x7f9b82076000>, ...} = <InovelliVZM36 model='VZM36' manuf='Inovelli' nwk=0xE645 ieee=88:1a:14:ff:fe:41:27:43 is_initialized=True> - quirk_applied: True - quirk_or_device_class: zhaquirks.inovelli.VZM36.InovelliVZM36 - quirk_id: None.platform_entities
shared-ci / Run tests Python 3.12
Process completed with exit code 1.
shared-ci / Prepare base dependencies (3.12)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4, actions/cache/restore@v3, actions/cache/save@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
shared-ci / Run pre-commit
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4, actions/cache/restore@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
shared-ci / Run tests Python 3.12
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4, actions/cache/restore@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/