-
Notifications
You must be signed in to change notification settings - Fork 866
Labels
possible bugPossible bug, yet to be confirmedPossible bug, yet to be confirmed
Description
Bug description
_TZE200_qrztc3ev TS0601 temperature and humidity sensor is supported by the general tuya sensor quirk, but it have some errors (at least for this device).
- The correct alarm enum is:
class TuyaNousTempHumiAlarm(t.enum8):
"""Tuya temperature and humidity alarm enum."""
Canceled = 0x00
LowerAlarm = 0x01
UpperAlarm = 0x02
- The minimal accepted temperature alarm value is 0 instead of -20. You get error message if you try to set below 0.
Steps to reproduce
- Open the sensor configuration in ZHA
- Set the alarm limits
- See the result.
Expected behavior
The alarm states are consistent with the limits are set.
Screenshots/Video
Screenshots/Video
[Paste/upload your media here]
Diagnostics information
No response
Device signature
Device signature
{
"node_descriptor": {
"logical_type": 2,
"complex_descriptor_available": 0,
"user_descriptor_available": 0,
"reserved": 0,
"aps_flags": 0,
"frequency_band": 8,
"mac_capability_flags": 128,
"manufacturer_code": 4742,
"maximum_buffer_size": 74,
"maximum_incoming_transfer_size": 404,
"server_mask": 10752,
"maximum_outgoing_transfer_size": 404,
"descriptor_capability_field": 0
},
"endpoints": {
"1": {
"profile_id": "0x0104",
"device_type": "0x0302",
"input_clusters": [
"0x0000",
"0x0001",
"0x0004",
"0x0020",
"0x0402",
"0x0405",
"0xef00"
],
"output_clusters": [
"0x000a",
"0x0019"
]
}
},
"manufacturer": "_TZE200_qrztc3ev",
"model": "TS0601",
"class": "zhaquirks.tuya.builder.EnchantedDeviceV2"
}
Logs
Logs
[Paste the logs here]
Additional information
No response
Metadata
Metadata
Assignees
Labels
possible bugPossible bug, yet to be confirmedPossible bug, yet to be confirmed