Firmware
- async OPNsenseClient.get_host_firmware_version()
Return the cached OPNsense firmware version.
- Returns:
- Installed firmware version, falling back to the product
series for non-SemVer version strings, or
Nonewhen the firmware status endpoint is unavailable.
- Return type:
None | str
- async OPNsenseClient.get_firmware_update_info()
Return firmware status and trigger a refresh when cached data is stale.
- Returns:
- Firmware status payload from OPNsense,
including product version, latest version, check status, and update metadata when available. Returns an empty mapping when the firmware status endpoint is unavailable.
- Return type:
MutableMapping[str, Any]
- async OPNsenseClient.upgrade_firmware(type='update')
Trigger a firmware upgrade.