Hello all,
With tuya on the fritz, I finally got around to flashing a bunch of modules with Tasmota. I flashed a Martin Jerry SD01 with Tasmota 8.3.1. Once integrated into Home Assistant, the module first appeared as a switch - it would appear as a light with Tuya but I was able to make it appear as a light with setoption30. But, the module has no brightness slider in home assistant now, just on/off toggle. Clearly, I am missing something…
Hi - thanks for the link. I had read through that (3 times). In the Tasmota front-end (ie web interface at LAN IP ADDRESS for module), there is a dimmer bar that works without issue. The buttons on the dimmer work without issue as well. For now, I am not interested in programing long-press commands etc. The problem is that initially HA sees the dimmer as a basic toggle on/off switch and auto-discovers a switch entity. Using setoption30, HA will auto-discover the module as a light entity, but still restrict the entity to on/off, no brightness control.
Turned off auto-discovery for that module, set up a light.yaml, dropped in the code, changed the topic from “TuyaTest” to my own and, well, “Bob’s your uncle.”
this is handled under the newest tasmota dev releases
it now properly handles pwm devices
i am on 8.3.1.7 and have auto turned on
and HASS sees it as a dimmer
Do I have to flash it to Tasmota in order to be able to use Brightness, or can I do that using the Tuya Integration with the switch as it came out of the box?