Candidate update to TS0041 to support _TYZB02_keyjqthh #1862
MrEcosse
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Have updated the TS0041 quirk to support the above variant which has AG Security on the circuit board. Button presses work but cannot seem to get a battery reading.
Have a similar update for the 3 button version _TYZB02_key8kk7r
`
"""Tuya 1 Button Remote."""
from zigpy.profiles import zha
from zigpy.quirks import CustomDevice
from zigpy.zcl.clusters.general import Basic, OnOff, Ota, PowerConfiguration, Time
from zhaquirks.const import (
BUTTON_1,
COMMAND,
DEVICE_TYPE,
DOUBLE_PRESS,
ENDPOINT_ID,
ENDPOINTS,
INPUT_CLUSTERS,
LONG_PRESS,
MODEL,
OUTPUT_CLUSTERS,
PROFILE_ID,
SHORT_PRESS,
)
from zhaquirks.tuya import TuyaSmartRemoteOnOffCluster
class TuyaSmartRemote0041TO(CustomDevice):
"""Tuya 1-button remote device with time on out."""
class TuyaSmartRemote0041TI(CustomDevice):
"""Tuya 1-button remote device with time on in."""
class TuyaSmartRemote0041NT(CustomDevice):
"""AG Security/Tuya 1-button remote device with no time on."""
`
Beta Was this translation helpful? Give feedback.
All reactions