ollo69 / ha_tuya_custom

Tuya Custom Component for testing
Apache License 2.0
39 stars 18 forks source link

Documentation unclear about what the `device_name` is exactly #21

Closed PronkMedia closed 4 years ago

PronkMedia commented 4 years ago

Hi, I'm using this repo/integration since 2 weeks and I'm really happy with the efforts to fix the current Tuya integration issues. Thanks for that!

From the documentation it's not really clear what I have to enter as device_name when providing custom device information via configuration.yaml, in my understanding it should be one of these, but I'm not sure which is correct:

Could you please clarify on this topic and maybe update the documentation?

ollo69 commented 4 years ago

You must use Friendly Name or "tuya_device_id" that is exposed with a specific entity attribute. I will update documentation as soon as I will have some time.

DukeNuken commented 4 years ago

I have the same problem with "device_name". I have a switcher with 3 buttons. So what "device_name" should be the name of the main switcher or of each button? Where those names should came from? from Tuya mobile application?

PronkMedia commented 4 years ago

Thank you for clarifying this!