Releases: jpelgrom/python-letpot
Releases · jpelgrom/python-letpot
0.7.0
- Add support for a new device category and devices: watering systems DI-2/DI-3 (Automatic Watering System 2.0)
- Status models adjusted
LetPotDeviceStatusnow contains the status info common to all device categories- Device category specific status info uses specific classes extending
LetPotDeviceStatus:LetPotGardenStatus(all status info previously included inLetPotDeviceStatus) andLetPotWateringSystemStatus
- Converters list adjusted
CONVERTERSnow contains all the converters for device types provided by this library- Device category specific converters can still be accessed using specific lists:
GARDEN_CONVERTERS(all converters previously included inCONVERTERS) andWATERING_SYSTEM_CONVERTERS
0.6.4
0.6.3
0.6.2
0.6.1
0.6.0
- Device feature improvements
- Add
DeviceFeature.CATEGORY_HYDROPONIC_GARDENto prepare for support for other device categories LetPotFeatureExceptionwill now be thrown for functions which require the device to support a specific feature, when not supported
- Add
- Status model improvement:
light_modenow uses flower or vegetable - Adjust logging of device client connection failures and skip delayed retry on first failure
0.5.0
0.4.0
- Status model improvements
errorsproperty replacessystem_state, providing info about supported errors for the device and their statetemperature_unitnow uses Celsius or Fahrenheit
- Add function to set temperature unit
- Expanded error handling for publishing messages
0.3.0
0.2.0
- Handle subscription task internally and split external functions for more granular control:
await subscribe, to know when it has connected or faileddisconnect, when done
- Do not automatically request a status update after connecting, this must now be done manually to avoid unnecessary updates
- Add function
get_current_status(requests update + awaits response) - Handle any exception in incoming messages to keep connection loop alive