Closed frenck closed 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.
TuyaDevice.status_range
Dict[str, str]
Instead it should be typed as Dict[str, TuyaDeviceStatusRange]
Dict[str, TuyaDeviceStatusRange]
Thanks for merging it @tsutsuku 🎉
Fixes the typing of
TuyaDevice.status_range
, it is typed asDict[str, str]
, but this is incorrect and can never happen.Instead it should be typed as
Dict[str, TuyaDeviceStatusRange]