Releases: lmaertin/python-pooldose
Releases · lmaertin/python-pooldose
0.8.6
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
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
- @ronaldvdmeer made their first contribution in #21
- @pwntester made their first contribution in #22
Full Changelog: 0.8.2...0.8.5
0.8.2
[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
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/upper→ofa_orp_lower/uppercl_ph_lower/upper→ofa_cl_lower/upper- Now consistent with existing
ofa_ph_lower/uppernaming 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
0.7.9
Changed
- Simplified Entity Types: Reduced complexity by moving read-only numeric values to sensor type
water_meter_total_permanentmoved from number to sensorwater_meter_total_resettablemoved from number to sensorflow_rate_valuemoved 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
Enhanced
- Type Safety: Complete integration of TypedDict definitions from
type_definitions.pyDeviceInfoDictnow used throughout for device informationAPIVersionResponseproperly returned from version checksStructuredValuesDictcorrectly typed for structured instant valuesValueDictextended 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
Add Payload Debugging & Device Enhancements
🎯 New Features
- CLI Debug Flag:
--print-payloadfor HTTP payload debugging - Payload Inspection: Added
debug_payloadparameter andget_last_payload()method - Client Convenience Methods: Direct
set_switch,set_number,set_selectmethods
🔧 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
- 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
Client: Optional MAC lookup with include_mac_lookup flag
Full Changelog: 0.6.8...0.6.9