Releases: hackwell/homeassistant-anio
Releases · hackwell/homeassistant-anio
Release list
v1.0.8
New Features
- Next Alarm Sensor — Shows next enabled alarm time (e.g. "07:30") with alarm count and enabled count attributes
- Tracking Mode Sensor — Diagnostic sensor showing current tracking mode
- Silence Time Switch — Toggle to enable/disable all silence time periods via API
- Ring Profile Select — Choose between Ring & Vibrate, Vibrate Only, or Silent
Bug Fixes
- Fix duplicate entity names ("Marla Marla Battery" → "Marla Battery") across all entities —
has_entity_name=Truerequires suffix-only names
Technical
- Add
AlarmClockandSilenceTimepydantic models with defensive per-item parsing - Add 8 new API client methods (alarms CRUD, silence times enable/disable, tracking mode, device settings PATCH)
- Add
Platform.SWITCHandPlatform.SELECTplatforms - Add
RING_PROFILESconstant - Full test coverage for all new entities
v1.0.7
What's New
New Entities
- Signal Strength Sensor — Shows watch signal strength as percentage (diagnostic)
- Last Message Sensor — Displays the most recent message from the watch, with sender, type, timestamp, and read status as attributes
- Flower Button — Send a flower (praise) to the watch
Improvements
- Faster location polling — Uses
/v1/location/{id}/lastendpoint (single object) instead of fetching the full location array - Chat history integration — Fetches chat history per device to populate last message state
Fixes
- Accept
DEVICEsender type from chat API (in addition toAPPandWATCH) - Make chat message
textfield optional (voice messages have no text) - Skip unparseable chat messages instead of crashing the coordinator
- Send required
amountparameter in flower API call
v1.0.5
Fixes
- Activity API crash fix: Removed unsupported
fromquery parameter from/v1/activityAPI call. The ANIO API rejects this parameter with400 Bad Request, which caused every coordinator update to fail after the first successful poll — making all device entities permanently unavailable.
Upgrade
In HACS, go to the ANIO integration and update to the latest version, then restart Home Assistant.
v1.0.4
Fixes
- Token persistence: Tokens now survive Home Assistant restarts via
on_token_refreshcallback that persists refreshed tokens to the config entry - Refresh token rotation: When the API returns a new refresh token during refresh, it is now captured and stored
- client-id header: The
client-idheader is now included in token refresh requests (was missing, causing silent failures) - 401 error handling: API client now raises
AnioAuthErroron 401 responses, enabling proper reauthentication flow instead of generic error handling
New
- Integration tests: 9 new tests covering token lifecycle, data flow, and setup wiring
Upgrade
In HACS, go to the ANIO integration and update to the latest version, then restart Home Assistant.
v1.0.3
New
- ANIO Logo: Added integration logo and icons for display in Home Assistant UI
icon.png(128x128)icon@2x.png(256x256) for retina displayslogo.png(512x512) full logo
Upgrade
In HACS, go to the ANIO integration and update to the latest version, then restart Home Assistant.
v1.0.2
Fixes
- Fixed geofences 404 handling: The API returns 404 when no geofences exist, which is a valid state. This is now handled gracefully by returning an empty list instead of raising an error.
Upgrade
In HACS, go to the ANIO integration and update to the latest version.
v1.0.1 - Bug Fix
Bug Fixes
- Fixed Pydantic model attribute access (
latitude/longitudeinstead oflat/lng) - Added
populate_by_name=Trueto all Pydantic models for proper alias handling - Fixed config flow initialization error (500 Internal Server Error)
Upgrade
Update via HACS or manually replace the custom_components/anio folder.
v1.0.0 - Initial Release
ANIO Smartwatch Integration for Home Assistant
Initial release of the ANIO Smartwatch integration.
Features
- Status Monitoring - Battery level, online status, last seen
- Step Counter - Daily steps with goal tracking
- Location Tracking - GPS location on Home Assistant map
- Geofence Sensors - Presence detection for defined zones
- Messaging - Send text and emoji messages to the watch
- Message Events - Receive events when messages arrive
- Device Control - Locate button and Power Off button
Supported Devices
- ANIO 5 Smartwatch
- ANIO 6 Smartwatch
Installation
- Add this repository as a custom repository in HACS
- Install "ANIO Smartwatch" integration
- Restart Home Assistant
- Add integration via Settings → Devices & Services