tuya / tuya-iot-python-sdk

Tuya IoT Python SDK for Tuya Open API.
MIT License
117 stars 47 forks source link

Fix type signature of TuyaDevice.status_range #26

Closed frenck closed 2 years ago

frenck commented 2 years ago

Fixes the typing of TuyaDevice.status_range, it is typed as Dict[str, str], but this is incorrect and can never happen.

Instead it should be typed as Dict[str, TuyaDeviceStatusRange]

frenck commented 2 years ago

Thanks for merging it @tsutsuku 🎉