Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tuya differentiate smart plugs from touch switchs #131

Closed
guyluz11 opened this issue Dec 16, 2021 · 3 comments · Fixed by #134
Closed

Tuya differentiate smart plugs from touch switchs #131

guyluz11 opened this issue Dec 16, 2021 · 3 comments · Fixed by #134
Assignees
Labels
enhancement New feature or request have blocker issue that have blocker that need to be resolve to continue solve it

Comments

@guyluz11
Copy link
Member

guyluz11 commented Dec 16, 2021

Currently smart plugs and touch switches are the same for the hub.

Tuya API response includes both devType and haType but they are both switch types which I think is a bug in their API.
The only differentiate that I have found in the response of the device is the attached image URL of the device but this is not a good way to distinguish between the devices.

@guyluz11 guyluz11 added the enhancement New feature or request label Dec 16, 2021
@guyluz11
Copy link
Member Author

guyluz11 commented Dec 16, 2021

@guyluz11 guyluz11 self-assigned this Dec 28, 2021
@guyluz11 guyluz11 changed the title Tuya diffrintiat smart plugs from touch switchs Tuya differentiate smart plugs from touch switchs Dec 28, 2021
@guyluz11 guyluz11 added this to In progress in Mini Road Map Dec 28, 2021
@guyluz11
Copy link
Member Author

Blocker #135 as we don't have support for smart plugs at all.

@guyluz11 guyluz11 added the have blocker issue that have blocker that need to be resolve to continue solve it label Dec 28, 2021
@guyluz11 guyluz11 linked a pull request Dec 28, 2021 that will close this issue
@guyluz11
Copy link
Member Author

guyluz11 commented Jan 3, 2022

Done

@guyluz11 guyluz11 closed this as completed Jan 3, 2022
Mini Road Map automation moved this from In progress to Done Jan 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request have blocker issue that have blocker that need to be resolve to continue solve it
Projects
Development

Successfully merging a pull request may close this issue.

1 participant