Skip to content

Releases: s1lvi0/deva4004

v2.3

Choose a tag to compare

@s1lvi0 s1lvi0 released this 27 May 13:12

New: structured attributes on alarm sensors

Each alarm sensor now exposes the following extra_state_attributes:

  • location — e.g. URBINO, PESARO
  • frequency_mhz — e.g. 103.0
  • station_name — e.g. KISS (the leading 103.0 from the SNMP-side name is stripped)
  • alarm_type — RF, MPX, Pilot, or RDS
  • level_entity_id — the matching *_level sensor for this alarm
  • level_unit — dBμV for RF, kHz otherwise

This lets automations and dashboards read fields directly via state_attr() instead of parsing friendly_name, which Home Assistant composes as \"{device.name} {entity.original_name}\" and produces a duplicated prefix (e.g. \"103.0 KISS DEVA_URBINO 103.0 KISS RF Alarm\").

See the README changelog for full version history.

v2.2

Choose a tag to compare

@s1lvi0 s1lvi0 released this 26 May 15:26

Bug fix: blocking I/O on the event loop

Restored lookupMib=False in _get_oid and _get_snmp_subtree. Without it, pysnmp's MIB loader was making synchronous os.listdir() and open() calls inside the asyncio event loop on every received SNMP message, which triggered Home Assistant's blocking-call watchdog (homeassistant.util.loop "Detected blocking call to listdir/open ... inside the event loop") and pushed sensor platform setup past the 10-second warning threshold.

_get_monitor_data already had lookupMib=False and was unaffected.

See the README changelog for full version history.

v2.1

Choose a tag to compare

@s1lvi0 s1lvi0 released this 25 May 18:32
  • Share a single SNMP engine across all polling calls instead of creating one per request
  • Promote SNMP errors from debug to error so failures surface without enabling debug logging
  • Simplify config flow validation by relying on the SNMP probe result
  • Guard async_unload_entry against a missing hass.data["deva4004"] entry

See the README changelog for full version history.

v2.0

Choose a tag to compare

@s1lvi0 s1lvi0 released this 04 Oct 16:13

Update to new Home Assitant 2025.10.0

v1.1

Choose a tag to compare

@s1lvi0 s1lvi0 released this 29 Jun 09:57
02b082f
Update sensor.py

v1.0

Choose a tag to compare

@s1lvi0 s1lvi0 released this 18 May 11:54
39f8902
Update manifest.json