Skip to content

v2.1.0

Choose a tag to compare

@Moustachauve Moustachauve released this 04 Sep 03:02

What’s changed

✨ New features

  • HNA vs. SNA Device Detection: Automatically detect whether a target device is the Home Network Adapter (HNA) or the tub-side Spa Network Adapter (SNA) by comparing HOSTNAME against rootTopic.
  • DeviceType & Helper Properties: Added DeviceType enum (HNA, SNA, UNKNOWN) and spa.info.device_type, spa.info.is_hna, and spa.info.is_sna properties to SpaInfo.
  • Fast Discovery Helper: Added HotSpring.get_device_info() to fetch lightweight device identity from /startup without querying the LoRA radio endpoints (/status, etc.)—ideal for Home Assistant mDNS/zeroconf/DHCP discovery flows.
  • Custom Exceptions: Added HotSpringSNADetectedError (subclass of HotSpringInvalidDeviceError and HotSpringError) when an SNA device is encountered.

🛡️ Safety & Reliability

  • Guarded Connection: HotSpring.update() and HotSpring.update_identity() now guard against connecting to an SNA by default (validate_device=True), preventing silent failures and communication timeouts with the tub. An opt-out is available via validate_device=False.

Full Changelog: v2.0.1...v2.1.0