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

Incorrect return type for device status endpoint #14

Open
jbellionjourdanSeb opened this issue Jan 31, 2023 · 0 comments
Open

Incorrect return type for device status endpoint #14

jbellionjourdanSeb opened this issue Jan 31, 2023 · 0 comments

Comments

@jbellionjourdanSeb
Copy link

Hi,

According to this doc : https://developer.tuya.com/en/docs/cloud/f76865b055?id=Kag2ycn1lvwpt

The endpoint GET: /v1.0/iot-03/devices/{device_id}/status returns an array.
However, it seems that the TuyaContext.deviceStatus.status(...) method returns a single item.

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

No branches or pull requests

1 participant