ts0601_energy_meter quirk for Tuya power meter devices (v2 quirk) #6124
Annotations
6 errors and 10 warnings
Run pytest:
tests/test_tuya_energy_meter.py#L398
test_tuya_energy_meter_quirk_energy_direction_delay_mitigation[_TZE204_cjbofhxw-TS0601-0-None]
AttributeError: 'ZCLAttributeDef' object has no attribute 'active_power'
|
Run pytest:
tests/test_tuya_energy_meter.py#L398
test_tuya_energy_meter_quirk_energy_direction_delay_mitigation[_TZE204_ac0fhfiq-TS0601-0-None]
AttributeError: 'ZCLAttributeDef' object has no attribute 'active_power'
|
Run pytest:
tests/test_tuya_energy_meter.py#L398
test_tuya_energy_meter_quirk_energy_direction_delay_mitigation[_TZE200_rks0sgb7-TS0601-1-None]
AttributeError: 'ZCLAttributeDef' object has no attribute 'active_power'
|
Run pytest:
tests/test_tuya_energy_meter.py#L395
test_tuya_energy_meter_quirk_energy_direction_delay_mitigation[_TZE204_81yrt3lo-TS0601-2-None]
assert 2 == 3
+ where 2 = len([(1024, 100), (1024, 200)])
+ where [(1024, 100), (1024, 200)] = <tests.common.ClusterListener object at 0x7f799855cc50>.attribute_updates
|
Run pytest:
tests/test_tuya_energy_meter.py#L354
test_tuya_energy_meter_quirk_energy_direction_delay_mitigation[_TZE204_81yrt3lo-TS0601-0-basic_cluster_match4]
AttributeError: type object 'AttributeDefs' has no attribute 'app_version'
|
Run pytest
Process completed with exit code 1.
|
Run pytest:
zhaquirks/tuya/mcu/__init__.py#L325
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
|
Run pytest:
venv/lib/python3.13/site-packages/zigpy/types/basic.py#L96
__int__ returned non-int (type int32s). The ability to return an instance of a strict subclass of int is deprecated, and may be removed in a future version of Python.
|
Run pytest:
venv/lib/python3.13/site-packages/zigpy/types/basic.py#L96
__int__ returned non-int (type int32s). The ability to return an instance of a strict subclass of int is deprecated, and may be removed in a future version of Python.
|
Run pytest:
venv/lib/python3.13/site-packages/zigpy/types/basic.py#L96
__int__ returned non-int (type int32s). The ability to return an instance of a strict subclass of int is deprecated, and may be removed in a future version of Python.
|
Run pytest:
venv/lib/python3.13/site-packages/zigpy/types/basic.py#L96
__int__ returned non-int (type int32s). The ability to return an instance of a strict subclass of int is deprecated, and may be removed in a future version of Python.
|
Run pytest:
zhaquirks/tuya/mcu/__init__.py#L325
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
|
Run pytest:
venv/lib/python3.13/site-packages/zigpy/types/basic.py#L96
__int__ returned non-int (type int32s). The ability to return an instance of a strict subclass of int is deprecated, and may be removed in a future version of Python.
|
Run pytest:
venv/lib/python3.13/site-packages/zigpy/types/basic.py#L96
__int__ returned non-int (type int32s). The ability to return an instance of a strict subclass of int is deprecated, and may be removed in a future version of Python.
|
Run pytest:
venv/lib/python3.13/site-packages/zigpy/types/basic.py#L96
__int__ returned non-int (type int32s). The ability to return an instance of a strict subclass of int is deprecated, and may be removed in a future version of Python.
|
Run pytest:
venv/lib/python3.13/site-packages/zigpy/types/basic.py#L96
__int__ returned non-int (type int32s). The ability to return an instance of a strict subclass of int is deprecated, and may be removed in a future version of Python.
|
Loading