So the only other thing I'd like to get working is the button. With the default settings above, it does toggle the light on/off as expected, however it does not report that to the UI or Home Assistant.
I played around a little and discovered that the power toggle was dpID 20, so I tried the following:
Then it appeared I needed to link that to a channel, so I added
linkTuyaMCUOutputToChannel 20 1 20
That got it working in a way. It created a separate toggle for channel 20 (After I set the type in the web app), and that was updated when I pressed the button. Obviously that is not ideal, as I would like to update the existing 'Light' that was created with the default config.
So my question is how do I link dpID 20 to the current light with the default config? I am thinking the above steps are not correct for this light, but I could not find anything in the documentation that pointed me in the right direction.
Thanks