Skip to content

v0.3.4 — Fix stale now-playing sensors, silent write failures & channel guessing

Choose a tag to compare

@triumfas triumfas released this 06 Sep 10:09
· 7 commits to main since this release

Fixes

Now-playing sensors could get stuck on a stale value

The coordinator's stale-value fallback couldn't tell "telnet reply not received this cycle" apart from "receiver explicitly reported no signal" — both surfaced as None and got silently replaced with the previous reading. So when playback stopped or the input changed, sensors like Audio Format, Audio Sample Rate, Video Input/Output Resolution could keep showing outdated data indefinitely.

Fixed: genuine no-signal/no-rate replies ("---", "NON"/"NONE") are now normalized to an explicit "No signal" value instead of None, so these sensors update immediately. Transient telnet/HTTP failures still fall back to the last known value as before — no more flapping to unavailable on a brief network hiccup.

Sample rate codes without a "K" suffix showed the raw code

Some sample-rate replies (e.g. "441" for 44.1 kHz) don't use the "48K"-style suffix. These were shown as-is instead of being converted.

Fixed: sensor.denon_audio_sample_rate now correctly shows 44.1 kHz, 88.2 kHz, 176.4 kHz, etc.

Changing a setting with all zones off failed silently

If every zone was powered off, writing a setting (select/number/switch) sent nothing to the receiver but the UI still reported success — no indication anything went wrong.

Fixed: this now raises a visible Home Assistant error explaining that a zone needs to be powered on first.

Output Channels sensor assumed a subwoofer was always present

sensor.denon_output_channels hardcoded has_sub=True, which could misreport .1/.0 for sub-less setups.

Fixed: subwoofer presence is now derived from the reported subwoofer levels. The sensor is also renamed to Output Channels (Estimated) and disabled by default, since it remains a heuristic rather than a receiver-reported value.

Upgrade instructions

  • HACS users: update via HACS → Denon Advanced Audio → Redownload → v0.3.4, then restart Home Assistant.
  • Manual users: replace the custom_components/denon_advanced_audio/ files and restart Home Assistant.

No config changes needed. Existing entities keep their unique IDs.

Full changelog

  • 🐛 Fix now-playing sensors getting stuck on stale values after signal loss or input change
  • 🐛 Fix sample rate codes without a "K" suffix (e.g. 441) not being converted to kHz
  • 🐛 Fix settings writes silently failing when all zones are powered off — now raises a clear error
  • 💅 Rename Output Channels to Output Channels (Estimated), disable it by default, and derive subwoofer presence from reported levels instead of assuming one is present
  • 🏷️ Version bumped to 0.3.4

Full diff: v0.3.3...v0.3.4