Skip to content

Releases: hackwell/homeassistant-anio

v1.0.8

Choose a tag to compare

@hackwell hackwell released this 06 Feb 21:43

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=True requires suffix-only names

Technical

  • Add AlarmClock and SilenceTime pydantic 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.SWITCH and Platform.SELECT platforms
  • Add RING_PROFILES constant
  • Full test coverage for all new entities

v1.0.7

Choose a tag to compare

@hackwell hackwell released this 06 Feb 17:03

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}/last endpoint (single object) instead of fetching the full location array
  • Chat history integration — Fetches chat history per device to populate last message state

Fixes

  • Accept DEVICE sender type from chat API (in addition to APP and WATCH)
  • Make chat message text field optional (voice messages have no text)
  • Skip unparseable chat messages instead of crashing the coordinator
  • Send required amount parameter in flower API call

v1.0.5

Choose a tag to compare

@hackwell hackwell released this 06 Feb 15:47

Fixes

  • Activity API crash fix: Removed unsupported from query parameter from /v1/activity API call. The ANIO API rejects this parameter with 400 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

Choose a tag to compare

@hackwell hackwell released this 06 Feb 15:39

Fixes

  • Token persistence: Tokens now survive Home Assistant restarts via on_token_refresh callback 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-id header is now included in token refresh requests (was missing, causing silent failures)
  • 401 error handling: API client now raises AnioAuthError on 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

Choose a tag to compare

@hackwell hackwell released this 22 Jan 19:13

New

  • ANIO Logo: Added integration logo and icons for display in Home Assistant UI
    • icon.png (128x128)
    • icon@2x.png (256x256) for retina displays
    • logo.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

Choose a tag to compare

@hackwell hackwell released this 22 Jan 19:06

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

Choose a tag to compare

@hackwell hackwell released this 22 Jan 17:02

Bug Fixes

  • Fixed Pydantic model attribute access (latitude/longitude instead of lat/lng)
  • Added populate_by_name=True to 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

Choose a tag to compare

@hackwell hackwell released this 22 Jan 16:54

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

  1. Add this repository as a custom repository in HACS
  2. Install "ANIO Smartwatch" integration
  3. Restart Home Assistant
  4. Add integration via Settings → Devices & Services