-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update tuya.ts #7072
Update tuya.ts #7072
Conversation
adding support for manufacturerName: '_TZE204_5cuocqty' TS0601
thanks! |
hello @Koenkk , Today I discovered that this dimmer module (_TZE204_5cuocqty' TS0601) also has the function for choosing the "switch type". This way you can indicate whether a toggle or momentary switch is connected. this is comparable to module _TZ3210_3mpwqzuu. Should I submit a change request for this? otherwise this function cannot be used. I looked up the Tuya Datapoint via the Tuya gateway and see that the SwitchType datapoint has "57". I find it difficult to merge this with the T0601_dimmer_5 as I don't really know how to enter the other variables on this line. could you help me with this? UPDATE: I have just tried to edit the file... if all goes well, it is now submitted for review. |
Today I discovered that this dimmer module (_TZE204_5cuocqty' TS0601) also has the function for choosing the "switch type". This way you can indicate whether a toggle or momentary switch is connected. this is comparable to module _TZ3210_3mpwqzuu. Should I submit a change request for this? otherwise this function cannot be used. I looked up the Tuya Datapoint via the Tuya gateway and see that the SwitchType datapoint has "57". I find it difficult to merge this with the T0601_dimmer_5 as I don't really know how to enter the other variables on this line. could you help me with this?
Can you create a new pull request? |
@Koenkk did you see request |
|
Yes, but this is not a pull request, can you create it? Alternatively I can add the changes directly. |
I don't know if I will be able to do that... otherwise could you make the change yourself? |
Done! |
thank you very much Koenkk |
switchType does not seem to be working with '_TZE204_dcnsggvz', which is another fingerprint under the TS0601_dimmer_5 model. |
adding support for manufacturerName: '_TZE204_5cuocqty' TS0601
merged with the existing TS0601_dimmer_5