Skip to content

Incorrect return type for device status endpoint #14

Description

@jbellionjourdanSeb

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions