Skip to content

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 25 Aug 04:53
· 13 commits to main since this release

🚨 Breaking Changes & Migration

  • Lighting Controls:
    • set_light_color(zone, color) now only sets the color (intensity and light_wheel kwargs removed).
    • set_light_brightness(zone, brightness) now accepts discrete levels 05 (replacing full: bool).
    • Added set_light_wheel(zone, mode) for rainbow / color cycle modes (LightWheelMode).
    • LightColor.OFF removed; LightZone.is_on is now determined by intensity > 0.
  • Identity Data Caching:
    • HotSpring.update() only polls dynamic telemetry endpoints on routine updates.
    • Static identity endpoints (/startup, /spamodel) are cached after initial sync. Use await client.update_identity() to refresh static info.

✨ Features & Enhancements

  • Reactive Command Responses: Commands sent to /spaManager now immediately update the internal spa state model from response payloads (#9).
  • Enum Flexibility: set_jet() and set_heating_mode() now accept both Enum instances (JetSpeed, HeatingMode) and raw strings (#9).
  • Custom RGB Support: Added custom RGB state parsing in LightZone and strict 0-255 validation in set_light_rgb() (#8).
  • Concurrent Initial Sync: Initial identity queries (/startup and /spamodel) are fetched concurrently (#10).

🐛 Bug Fixes

  • Fixed parsing of control payloads in command responses to preserve valid local state (#11).
  • Improved versions partial update, FWIQ installation state detection, and safe diagnostics parsing (#11).

📦 Changes

  • fix(lights): improve lighting controls, discrete brightness levels, and state evaluation (#8)
  • feat: declarative partial state updates and reactive command responses (#9)
  • perf(hotspring): cache static identity data on routine status updates (#10)
  • fix(models): parse control payloads in command responses and preserve valid state (#11)

All changes

  • fix(lights): improve lighting controls, discrete brightness levels, and state evaluation @Moustachauve (#8)
  • feat: declarative partial state updates and reactive command responses @Moustachauve (#9)
  • perf(hotspring): cache static identity data on routine status updates @Moustachauve (#10)
  • fix(models): parse control payloads in command responses and preserve valid state @Moustachauve (#11)