home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
74k stars 31.05k forks source link

Tuya Integration v2: Missing garage door switch after configuration #57387

Closed MarekLigas closed 3 years ago

MarekLigas commented 3 years ago

The problem

After update to 2021.10.2 I had to remove and add again Tuya integration and after that only 4 of 5 switches are visible in HA, missing garage door switch.

Zrzut ekranu 2021-10-9 o 17 58 19

What is version of Home Assistant Core has the issue?

2021.10.2

What was the last working version of Home Assistant Core?

2021.09

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Tuya

Link to integration documentation on our website

https://www.home-assistant.io/integrations/tuya/

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

probot-home-assistant[bot] commented 3 years ago

Hey there @tuya, @zlinoliver, @metisu, mind taking a look at this issue as it has been labeled with an integration (tuya) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)


tuya documentation tuya source (message by IssueLinks)

zlinoliver commented 3 years ago

Hi @MarekLigas , the garage door switch may not be supported in this version of Tuya integration, we will help to investigate and support it in the future update.

zlinoliver commented 3 years ago

You can also help to contribute to this product support by following this tutorial: How to Developer a New Driver.

MarekLigas commented 3 years ago

Hi @zlinoliver according to this file tuya-home-assistant/custom_components/tuya_v2/switch.py it should be already supported "ckmkzq", # Garage Door Opener

andrey-yantsen commented 3 years ago

@MarekLigas Tuya V2 distributed as a custom component is not the exactly same thing as Tuya integration bundled with HomeAssistant. I assume, you can think of V2 as "beta" version. Your product is not yet supported by the integration that goes with HA: https://github.com/home-assistant/core/blob/5b3711ed198f216f638aee3995eb16ebfc92c676/homeassistant/components/tuya/switch.py#L27-L36

MarekLigas commented 3 years ago

Ok, understood. I think we can close that issue