Skip to content

Releases: jpelgrom/python-letpot

0.7.0

Choose a tag to compare

@jpelgrom jpelgrom released this 05 May 18:51
92a5f85
  • Add support for a new device category and devices: watering systems DI-2/DI-3 (Automatic Watering System 2.0)
  • Status models adjusted
    • LetPotDeviceStatus now 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 in LetPotDeviceStatus) and LetPotWateringSystemStatus
  • Converters list adjusted
    • CONVERTERS now 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 in CONVERTERS) and WATERING_SYSTEM_CONVERTERS

0.6.4

Choose a tag to compare

@jpelgrom jpelgrom released this 02 Dec 19:54
8365717
  • Add support for LPH22 for LPH-AIR model, LPH32 for LPH-SE model (excluding light_state)

0.6.3

Choose a tag to compare

@jpelgrom jpelgrom released this 28 Oct 17:44
07e2249
  • Add support for LPH64 for LPH-MAX model
  • Add support for Python 3.14 (officially, previous version already worked with 3.14)

0.6.2

Choose a tag to compare

@jpelgrom jpelgrom released this 24 Aug 12:20
3ba1457
  • Fix feature required decorator checking when using named arguments

0.6.1

Choose a tag to compare

@jpelgrom jpelgrom released this 06 Aug 19:58
28427b8
  • Fix feature required decorator on functions breaking named arguments

0.6.0

Choose a tag to compare

@jpelgrom jpelgrom released this 06 Aug 18:42
c44a126
  • Device feature improvements
    • Add DeviceFeature.CATEGORY_HYDROPONIC_GARDEN to prepare for support for other device categories
    • LetPotFeatureException will now be thrown for functions which require the device to support a specific feature, when not supported
  • Status model improvement: light_mode now uses flower or vegetable
  • Adjust logging of device client connection failures and skip delayed retry on first failure

0.5.0

Choose a tag to compare

@jpelgrom jpelgrom released this 16 Jul 20:48
fcda34a
  • The LetPotDeviceClient now has to be used as one client for all devices (sharing the underlying connection), instead of a client per device
  • Fix: allow device info is_remote to not be present

0.4.0

Choose a tag to compare

@jpelgrom jpelgrom released this 31 Jan 13:21
af0d1bb
  • Status model improvements
    • errors property replaces system_state, providing info about supported errors for the device and their state
    • temperature_unit now uses Celsius or Fahrenheit
  • Add function to set temperature unit
  • Expanded error handling for publishing messages

0.3.0

Choose a tag to compare

@jpelgrom jpelgrom released this 20 Jan 22:45
4af5e84
  • Add supported features to device client
  • Add function to change water mode

0.2.0

Choose a tag to compare

@jpelgrom jpelgrom released this 08 Jan 17:36
bf43c31
  • Handle subscription task internally and split external functions for more granular control:
    • await subscribe, to know when it has connected or failed
    • disconnect, 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