Skip to content

Releases: jpelgrom/python-letpot

0.6.3

28 Oct 17:44
07e2249

Choose a tag to compare

  • 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

24 Aug 12:20
3ba1457

Choose a tag to compare

  • Fix feature required decorator checking when using named arguments

0.6.1

06 Aug 19:58
28427b8

Choose a tag to compare

  • Fix feature required decorator on functions breaking named arguments

0.6.0

06 Aug 18:42
c44a126

Choose a tag to compare

  • 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

16 Jul 20:48
fcda34a

Choose a tag to compare

  • 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

31 Jan 13:21
af0d1bb

Choose a tag to compare

  • 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

20 Jan 22:45
4af5e84

Choose a tag to compare

  • Add supported features to device client
  • Add function to change water mode

0.2.0

08 Jan 17:36
bf43c31

Choose a tag to compare

  • 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

0.1.3

06 Jan 21:13
603984b

Choose a tag to compare

  • Python 3.12 support

0.1.2

04 Jan 15:12
0a974be

Choose a tag to compare

  • Added a function to request a status update from the device
  • Textual fixes in comments/metadata