mileperhour / localtuya-homeassistant

local handling for Tuya devices
GNU General Public License v3.0
155 stars 703 forks source link

Configuration of dimmer switches in local tuya #21

Closed oberlinatgithub closed 3 years ago

oberlinatgithub commented 3 years ago

Hello Github community! I have several in wall 2 channel dimmer switches from Amazon. The name is MS-105B. I have already set myself apart from one another with several options to insert them locally into my network. I found out the Device ID and the Local Key and inserted them into my home assistant via localtuya. Unfortunately, I don't get the dim function set. Unfortunately, my Python skills are very limited. And the light.py is very extensive. I know that ID 1 is the on / off and ID 2 is responsible for the dim function. But this option in the integration is only responsible for color reproduction. Is there a template I can use? Many Thanks!

https://github.com/arendst/Tasmota/issues/5737 https://github.com/arendst/Tasmota/issues/8663 https://github.com/arendst/Tasmota/issues/6085

oberlinatgithub commented 3 years ago

I reposted in https://github.com/rospogrigio/localtuya/issues/357