Skip to content

Releases: lmaertin/python-pooldose

0.8.6

15 Mar 17:31

Choose a tag to compare

What's Changed

  • Convert enabled/disabled sensors to binary_sensor type by @ronaldvdmeer in #27
  • Add mapping for POOLDOSE DOUBLE SPA (PDPR1H04AW100_FW539292) by @ronaldvdmeer in #25

Full Changelog: 0.8.5...0.8.6

0.8.5

13 Mar 21:51
ab73036

Choose a tag to compare

What's Changed

  • Add MODEL_ALIASES for devices reporting different PRODUCT_CODE by @ronaldvdmeer in #21
  • Add device mapping for PDPH1H1HAW100 (FW 539176) by @pwntester in #22
  • Fix session consistency in request handler methods by @ronaldvdmeer in #23
  • feat: extend PDPR1H1HAW100_FW539187 mapping with 22 new entities by @ronaldvdmeer in #24

New Contributors

Full Changelog: 0.8.2...0.8.5

0.8.2

12 Jan 17:57

Choose a tag to compare

[0.8.2] - 2026-01-12

Changed

  • Type Constants: Introduced centralized runtime constants for platform types to eliminate string literals
    • All internal type comparisons now use these constants for consistency
    • Improved maintainability and reduced potential for typos

Full Changelog: 0.8.1...0.8.2

0.8.1

30 Nov 18:01

Choose a tag to compare

Changed

  • Unit Standardization: Chlorine values now consistently return "ppm" instead of "CL2" or "Chlorine"
    • Applied to both sensor and number types
    • Improved consistency across all chlorine measurements
  • Mapping Consistency: Renamed OFA (Output Final Alarm) threshold mappings for better naming convention
    • orp_ph_lower/upperofa_orp_lower/upper
    • cl_ph_lower/upperofa_cl_lower/upper
    • Now consistent with existing ofa_ph_lower/upper naming pattern
  • Delete pycache directory by @epenet in #19

Enhanced

  • Test Coverage: Added comprehensive tests for chlorine unit conversion
  • Code Quality: All tests pass (123 total), mypy and pylint score 10.00/10

New Contributors (thanks!)

Full Changelog: 0.8.0...0.8.1

0.8.0

26 Nov 20:31

Choose a tag to compare

Changed

  • Entity Type Refinement: flow_rate_value renamed to flow_rate

Full Changelog: 0.7.9...0.8.0

0.7.9

26 Nov 18:29

Choose a tag to compare

Changed

  • Simplified Entity Types: Reduced complexity by moving read-only numeric values to sensor type
    • water_meter_total_permanent moved from number to sensor
    • water_meter_total_resettable moved from number to sensor
    • flow_rate_value moved from number to sensor
  • Streamlined Configuration: Reduced select entities to essential configuration options only
    • Removed redundant read-only select types
    • Focused on user-configurable settings for better clarity
    • Improved entity organization and usability

Enhanced

  • Entity Organization: Better alignment between entity types and their actual usage patterns
  • API Clarity: More intuitive distinction between read-only sensors and configurable numbers

Full Changelog: 0.7.8...0.7.9

0.7.8

27 Oct 21:37

Choose a tag to compare

Enhanced

  • Type Safety: Complete integration of TypedDict definitions from type_definitions.py
    • DeviceInfoDict now used throughout for device information
    • APIVersionResponse properly returned from version checks
    • StructuredValuesDict correctly typed for structured instant values
    • ValueDict extended with min/max/step fields for number types
  • Home Assistant Compatibility: Full strict typing compliance for HA integrations
    • All public API methods use proper TypedDict types
    • MyPy strict mode passes without any type: ignore comments
    • PEP-561 compliance maintained and enhanced
  • Code Quality: Elegant use of string literals for TypedDict keys
    • Replaced runtime casting with compile-time type safety
    • Improved maintainability and readability
    • Better IDE support and autocompletion

Fixed

  • StaticValues: Now accepts DeviceInfoDict directly without casting
  • InstantValues: to_structured_dict() returns proper StructuredValuesDict type
  • Constants: get_default_device_info() returns correct DeviceInfoDict type

Full Changelog: 0.7.7...0.7.8

0.7.7

27 Oct 20:03

Choose a tag to compare

Add Payload Debugging & Device Enhancements

🎯 New Features

  • CLI Debug Flag: --print-payload for HTTP payload debugging
  • Payload Inspection: Added debug_payload parameter and get_last_payload() method
  • Client Convenience Methods: Direct set_switch, set_number, set_select methods

🔧 Improvements

  • Array-Based Payloads: Consistent format for all operations: [{"value": 7, "type": "NUMBER"}]
  • New Device Support: VA DOS EXACT (Model PDPR1H1HAR1V1, FW FW539224)
  • Bug Fix: Removed unsupported Chlorine Sensor from PDPR1H1HAR1V0

✅ Quality

  • All 119 tests pass
  • Enhanced debugging workflow
  • Improved mock client with payload inspection

What's Changed

Full Changelog: 0.7.0...0.7.7

0.7.0

29 Sep 20:53

Choose a tag to compare

  • Connection Handling: Improved session management for more reliable connections
  • RequestHandler: Centralized session management with internal _get_session method
  • Performance: Reduced connection overhead for multiple consecutive API calls
  • Error Handling: Better cleanup of HTTP sessions in error cases

Full Changelog: 0.6.9...0.7.0

0.6.9

13 Sep 12:37

Choose a tag to compare

Client: Optional MAC lookup with include_mac_lookup flag

Full Changelog: 0.6.8...0.6.9