Replies: 1 comment
-
I'm not sure exactly what your problem is, but maybe an example will help. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug

In custom_components/tuya_local/devices/README.md:
but in Button.py:
sync def async_press(self): """Press the button""" await self._button_dp.async_set_value(self._device, True)
To Reproduce
Steps to reproduce the behavior including the device the issue was observed with:
Click on the Button send True always.
Expected behavior
I expect add mapping or default value with type different from boolean, and one send to my dp id.
If applicable, add screenshots to help explain your problem.

Command = True, but I add mapping with string command.
Beta Was this translation helpful? Give feedback.
All reactions