In my original PR (#2069) I did not know all the different states mapped to the dps values.
I reached out to the developers and they shared all the mappings with me. I also tested to verify them for the conditions I could replicate.
I don't expect this to be my last commit, as there are still issues with the display (as outlined in https://github.com/make-all/tuya-local/discussions/2168) and want to get touch sensors to work as button so I can use them to trigger automatons. However I have been sitting on this change for a while now, I wanted to get it out.
In my original PR (#2069) I did not know all the different states mapped to the dps values.
I reached out to the developers and they shared all the mappings with me. I also tested to verify them for the conditions I could replicate.
I don't expect this to be my last commit, as there are still issues with the display (as outlined in https://github.com/make-all/tuya-local/discussions/2168) and want to get touch sensors to work as button so I can use them to trigger automatons. However I have been sitting on this change for a while now, I wanted to get it out.