I am update dreamlight_led_strip.yaml - adding scenes selector / values #2324
Unanswered
Levanterman
asked this question in
Q&A
Replies: 1 comment 4 replies
-
This is the correct way to do it. I am not sure whether you still have any questions here, as the original request seems to have been written as you were discovering things, and it seems you solved all the questions you had by yourself. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This form is for reporting bugs. If you have encountered a bug, you should
generally have some log messages or device diagnostics to show something is
going wrong. If your problem is more of a question or a request for help,
then Discussions is
probably a more suitable venue.
Describe the bug
I am trying to modify the existing dreamlight_led_strip.yaml The device adds to Tuya Local no problem, but you cant change the 'scenes' (only from the app)
https://github.com/make-all/tuya-local/blob/main/custom_components/tuya_local/devices/README.md
To Reproduce
Steps to reproduce the behavior including the device the issue was observed with:
This is the device info from Tuya:
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.
The attribute I am trying to alter is no.51 but I dont know how to map a type : "raw" into the yaml, tuya documentation says its binary but i am not sure how to send different binary values to each scene
Please can you give me a hint, thanks.
If the bug involves a device, then please include device diagnostics from
Settings / Devices & Services / Tuya Local (your device) / "1 device"
Please check if there are messages from Tuya Local in the Home
Assistant log (Settings / System / Logs), and include those too.
If applicable, add screenshots to help explain your problem.
These are the some of the scenes which can be selected in the Tuya App.
Looks like the binary value is sent as a string, but need to concatenate other values into the correct format
https://developer.tuya.com/en/docs/iot/11?id=K9tp116dmo6br
i found the values in Tuya , i can change the scenes in the app and this value changes.
I saw how to map the static values in another yaml (smart_ked_strip.yaml) but these scenes dont work on this model
aha got it working and its accepting the scene values..
I will need to work my way though all the scenes , query the values from Tuya and then update the Yaml.
This will be a Pull request?
just wondering if I am missing something , as I know the scene values are correct, thanks
Beta Was this translation helpful? Give feedback.
All reactions