rospogrigio / localtuya

local handling for Tuya devices
GNU General Public License v3.0
2.81k stars 542 forks source link

YAML configuration option #863

Open myhomeiot opened 2 years ago

myhomeiot commented 2 years ago

First I want to thanks you for your great work!

I understand that now many devs removes yaml configuration options and move to config flow, maybe it's a right direction, but please explain how we can:

  1. Share configuration with other peoples for specific device
  2. Export/Import configuration from test Home Assistant to production
  3. Add new/change settings for specific DP

I have 2 Tuya devices, one of device has 35 DP's (mostly sensors) another device has 19 DP's I can't imagine how I can manage these settings from GUI.

Thanks in advance.

PS: Device with 35 DP's doesn't detected with previous version of integration but detected with new one, so I even can't create configuration in old version and migrate it to new one. PS: Sorry, by mistake I create this issue with bug label.

millikens commented 2 years ago

I was going to ask a similar question. I have several Tuya dimmer switches, which I could not configure in the UI/Config flow. I was able to find a post (or bug ticket?) where someone had solved a similar issue and posted their YAML. Using their example I was able to get everything working, I would not know where to begin without either specific support in the UI for this or manual configuration options. I am a developer, so I would love to introduce a more UI oriented solution, but I am not familiar enough with HA/LocalTuya to contribute in a meaningful way. The YAML option gave me a way forward.

Please correct me if there is a way to achieve everything YAML can do in the config flow!

mendoncart commented 2 years ago

I also would like to know how.

shaneshort commented 2 years ago

this.. configuring 4 outlets with the same configuration over and over again is tedious.. and if you forget an entity there's seemingly 0 way to add it in after the fact

TheBoXon commented 2 years ago

Would be great with any feature like this.