v2.1.0
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
HOSTNAMEagainstrootTopic. DeviceType& Helper Properties: AddedDeviceTypeenum (HNA,SNA,UNKNOWN) andspa.info.device_type,spa.info.is_hna, andspa.info.is_snaproperties toSpaInfo.- Fast Discovery Helper: Added
HotSpring.get_device_info()to fetch lightweight device identity from/startupwithout querying the LoRA radio endpoints (/status, etc.)—ideal for Home Assistant mDNS/zeroconf/DHCP discovery flows. - Custom Exceptions: Added
HotSpringSNADetectedError(subclass ofHotSpringInvalidDeviceErrorandHotSpringError) when an SNA device is encountered.
🛡️ Safety & Reliability
- Guarded Connection:
HotSpring.update()andHotSpring.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 viavalidate_device=False.
Full Changelog: v2.0.1...v2.1.0