Skip to content

Releases

v0.4.3

Choose a tag to compare

@fabioscarparo fabioscarparo released this 24 Nov 18:13

What's new in v0.4.3

  • Translated expired replay errors: The card and panel now also read translation_key from service_validation_error responses and show There is no recent message to replay. in all 7 languages if Replay is tapped after the 1-hour retention window expires.
  • Consistent WebSocket and HTTP error codes: hannounce/replay, hannounce/say, and the upload endpoint now propagate translation_key codes (such as alexa_disabled or external_https_required) on playback failures instead of falling back to a generic play_failed.

v0.4.2

Choose a tag to compare

@fabioscarparo fabioscarparo released this 24 Nov 17:53

What's new in v0.4.2

  • Integration categories: The manifest now declares media_entertainment.speakers_audio (primary) and security_safety.doorbells_intercoms (intercom cameras), so HA-nnounce is listed under the right categories and the HACS validation no longer warns about missing categories.

v0.4.1

Choose a tag to compare

@fabioscarparo fabioscarparo released this 24 Nov 17:47

What's new in v0.4.1

  • Translated Alexa errors in the card and panel: Alexa support is disabled and External HTTPS URL required now show in all 7 languages, instead of a generic message followed by the English server text.
  • Translated errors from Replay: The card now reads the translation_key of action errors, so Replay last message failures (quiet hours, Alexa) show in the user's language too.
  • Clearer privacy notes in the README: Alexa support is the only path where audio leaves the local network (Amazon's servers download it through a signed link that expires after 1 hour), and an Echo in Do Not Disturb stays silent without reporting an error.

v0.4.0

Choose a tag to compare

@fabioscarparo fabioscarparo released this 24 Nov 14:29

What's new in v0.4.0

  • Complete intercom screen translations: Added German (de), French (fr), Spanish (es), and Dutch (nl) strings to the WebRTC intercom status screen so all 7 supported languages (en, it, de, fr, es, nl, ro) have full parity.
  • Best-effort playback resume (opt-in): Added the Resume playback after messages (best effort) option (off by default) for speakers without native MEDIA_ANNOUNCE support (such as Google Cast and DLNA). Resumes directly playable http(s):// streams and media-source:// tracks after restoring volume and mute, seeking back to the previous position on finite tracks when SEEK is supported.
  • Optional Amazon Alexa / Echo support (experimental): Added the opt-in Amazon Alexa / Echo support option (off by default) supporting both Home Assistant's official alexa_devices integration (notify.send_message to sibling _speak or _announce entities, including WHA speaker groups) and HACS alexa_media (notify.alexa_media with type: tts). Transcodes on demand to Amazon SSML-compliant CBR 48 kbps / 24 kHz mono MP3 (capped at 240s) served via signed external HTTPS URL (/api/hannounce/audio/<id>-alexa.mp3), with config flow validation and diagnostics reporting.

v0.3.3

Choose a tag to compare

@fabioscarparo fabioscarparo released this 24 Nov 13:36

Card & UI Improvements

  • Prevent duplicate playback on speaker groups: Selecting All or an area shortcut now selects individual speakers instead of also selecting a speaker group alongside its own members (falling back to groups only when no individual speakers exist).
  • Per-card speaker selection: Cards limited to a custom entities list now store their own selection independently from the sidebar panel and full-home cards, and reload properly when edited in the visual editor.
  • Cleaner single-speaker cards: Single-speaker cards hide the redundant speaker chip row, keep the header clickable to open more-info, and explain Unavailable or Silenced by quiet hours directly in the hint when playback is blocked.
  • Visual & accessibility polish: Added dynamic scroll fade indicators (RTL-aware) on the horizontal area strip, fixed full-width list rows inside the speaker dialog, fixed switch thumb visibility in dark mode, added compact header sizing for narrow (<= 280px) columns, improved aria-label on the compact speaker selector row, and refreshed the README wall previews.

v0.3.2

Choose a tag to compare

@fabioscarparo fabioscarparo released this 24 Nov 07:09

Fixes

  • Non-blocking intercom font loading: Intercom screen fonts are now read from disk once in Home Assistant's executor (load_fonts()) during camera platform setup and shared across every intercom camera, avoiding blocking file I/O on the event loop.
  • Non-blocking path validation: Moved hass.config.is_allowed_path() together with Path.is_file() into a single executor call (async_check_allowed_file) across config flow, services, custom chime HTTP preview, and announcement creation.

v0.3.1

Choose a tag to compare

@fabioscarparo fabioscarparo released this 23 Nov 12:07

What's changed

  • Romanian translation (ro): Added full Romanian language support across the config flow, options, services, sidebar panel, Cast title, card, card editor, and intercom camera screen (thanks to @robex2005 in #1!).
  • Intercom screen Unicode fonts: The intercom camera screen now loads a system Unicode TrueType font (DejaVuSans, LiberationSans, NotoSans, FreeSans, Arial, etc.) when available so diacritics and accented speaker names render cleanly, falling back to diacritic-stripped ASCII when only Pillow's built-in font is present.
  • Translation checks: Extended automated tests to also enforce server-side TEXT parity and {placeholder} consistency across all 7 languages (en, it, de, fr, es, nl, ro).

v0.3.0

Choose a tag to compare

@fabioscarparo fabioscarparo released this 21 Nov 15:05

New features

  • Quiet hours (Do Not Disturb): Configure a quiet schedule (including overnight ranges like 22:00 to 07:00) and/or an optional input_boolean or binary_sensor trigger in the integration options. Choose whether to cap announcement volume (default 25%, also clamping speakers whose current volume exceeds the cap when "Keep each speaker's volume" is on) or skip affected speakers completely. Scope quiet hours to all speakers or specific ones (such as bedrooms).
  • Text mode (TTS): Type an announcement directly from the card or panel using Home Assistant's already-configured text-to-speech engine (Piper, PicoTTS, Home Assistant Cloud, Google Translate, and more; optional tts_entity override in the integration options). Generated speech flows through HA-nnounce's full pipeline (chime, loudness normalization, volume/mute restore, quiet hours, replay, and Media history). On plain HTTP browsers without microphone access, Text mode opens automatically when a TTS engine is available.
  • Custom chime: Set a local audio file path (MP3, WAV, OGG, FLAC... inside allowlist_external_dirs, validated on save) in the integration options to unlock a 5th Custom chime option in the card, panel, and hannounce.announce action, complete with audio preview via the authenticated /api/hannounce/chime endpoint.
  • Voice enhancement toggle: New Voice enhancement option (enabled by default) in the integration settings. Turn it off to disable browser microphone DSP (echoCancellation, noiseSuppression, autoGainControl), the 70 Hz high-pass filter, and automatic silence trimming for raw, unprocessed audio.

Card & UI

  • Separated Area shortcuts & compact speaker dialog: Area shortcuts (All + Home Assistant areas with live selected/available counts) now sit in their own horizontal strip above the speakers so areas and individual speakers are never mixed. Homes with 7+ speakers automatically switch to a compact 42px selector row that opens a searchable, area-grouped dialog (bottom sheet on mobile); override anytime via speaker_style: auto | chips | compact in the visual editor.
  • Auto-growing text box: In Text mode, the full-width text area grows vertically as you type (with Enter to send and Shift+Enter for a new line) above a full-width Send button.
  • Quiet hours visual indicators: Displays an indigo moon pill (Max 25% or Quiet: <speaker>) in the volume header, a volume cap marker on the slider in cap mode, and dashed moon badges on silenced speakers in skip mode.
  • 5-chime segmented control: Dynamically displays the Custom option only when configured, with automatic compact sizing so all 5 labels fit cleanly without truncation.
  • Translations: Updated all 6 languages (en, it, de, fr, es, nl) across both backend config/services and the frontend card/editor.

Automations, Events & Diagnostics

  • hannounce.announce: Added message (mutually exclusive with file and url), optional tts_entity and language, chime: custom, and force: true to bypass quiet hours for urgent announcements.
  • hannounce.replay: Added force: true to bypass quiet hours.
  • WebSocket & Event: Added hannounce/say command for TTS announcements; hannounce_announced now reports source: "tts" for text messages sent from the card or panel.
  • Diagnostics: Redacts custom_chime file paths (**REDACTED**) and includes custom_chime_configured, tts, and quiet runtime status.

0.2.0

Choose a tag to compare

@fabioscarparo fabioscarparo released this 21 Nov 12:24
  • Automatic unmute and mute restoration during announcements (when not using native speaker announcement volume), preserving manual mid-playback volume changes.
  • Native Home Assistant targets (entity_id, area_id, floor_id, device_id, label_id) in hannounce.announce and hannounce.replay.
  • Chime preview button in the card and panel options dialog (synthesized via Web Audio API).
  • Diagnostics download (Settings > Devices & services > HA-nnounce > Download diagnostics) for troubleshooting without exposing URLs or user data.
  • Added German (de), French (fr), Spanish (es), and Dutch (nl) translations for both backend and frontend.
  • Added GitHub Actions CI workflow running ruff, pytest, and frontend unit tests.

0.1.1

Choose a tag to compare

@fabioscarparo fabioscarparo released this 21 Nov 11:49
  • Added integration brand icons (icon.png and icon@2x.png) for Home Assistant.