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 switch does not return the current state from API #133

Closed
guyluz11 opened this issue Dec 16, 2021 · 2 comments
Closed

Tuya switch does not return the current state from API #133

guyluz11 opened this issue Dec 16, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@guyluz11
Copy link
Member

Tuya API does not return the state of touch switches using the request to
https://px1.tuya$region.com/homeassistant/skill

Future<List<TuyaDeviceAbstract>> findDevices() async {

It does return the state of light objects but not for touch switches.

Maybe there is another API call better for switches or the data needed to be sent differently.

@guyluz11 guyluz11 added the enhancement New feature or request label Dec 16, 2021
@guyluz11 guyluz11 linked a pull request Dec 28, 2021 that will close this issue
@guyluz11
Copy link
Member Author

guyluz11 commented Jan 5, 2022

Maybe using a different API
This one require the user to create a developer account on the Tuya website

@guyluz11
Copy link
Member Author

Closing as Tuya changed API and we currently do not support it.
I have opened a new issue CyBear-Jinni/cbj_integrations_controller#22 to support Tuya API

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant