Skip to content

v0.1.0

Choose a tag to compare

@dabo53ck dabo53ck released this 20 Nov 21:07
2bf7705

First release of PatchMon for Home Assistant. Requires Home Assistant 2026.9 or newer and a PatchMon 2.x server (tested with 2.1.8). The integration is read-only: it only uses an API token with the host:get permission. The README shows how to create one.

Added

  • Setup with connection test, re-authentication and reconfiguration. Options: polling interval, host group filter, area for new devices and one switch per optional entity. The same server under a second address (IP and host name) is recognised.
  • Devices: one for the PatchMon server and one per host, linked to the host page in PatchMon. New hosts appear by themselves, deleted hosts are removed. Only the host list decides that a host is gone; an empty or cut-off list removes nothing.
  • Per host: pending and security updates, update status, restart required and its reason, reporting, last check-in, agent version, last boot; optional running and installed kernel, installed packages and an update entity with the package list as release notes.
  • On the server device: totals for hosts, hosts with (security) updates, hosts requiring a restart, hosts not reporting, pending and security updates.
  • Actions: get_hosts (hosts with their patch status, filterable), get_packages (packages of one host) and refresh (read PatchMon now; the agents are not asked to report).
  • Diagnostics for the entry and every device; the server address, token, host names, IP addresses and machine IDs are removed.
  • Repairs when a group of the host group filter has no hosts any more, and when PatchMon answers in a way the integration does not understand.
  • Debug logging: every request to PatchMon (path, status, duration), which hosts had their details read again and why, added or removed devices; never the server address or the token.
  • Translations: English, German, French, Spanish.

Since 0.1.0-rc.1

Fixes for host devices being removed too early, duplicate servers, redirects, cut-off host lists and the names of deleted filter groups; the setup now names the right PatchMon menu (Settings → API integrations → Scoped Credentials). Details in the CHANGELOG.