Configuration

Device configuration operations for Akuvox devices.

async pylocal_akuvox.config.get_device_config(http)[source]

Retrieve full device configuration.

Return type:

DeviceConfig

Parameters:

http (AkuvoxHttpClient)

Args:

http: The HTTP client for device communication.

Returns:

A DeviceConfig object with all configuration key-value pairs.

async pylocal_akuvox.config.set_device_config(http, settings)[source]

Update device configuration settings.

Return type:

None

Parameters:
  • http (AkuvoxHttpClient)

  • settings (dict[str, str])

Args:

http: The HTTP client for device communication. settings: Dict of autop-format keys to new string values.

Raises:

AkuvoxValidationError: If settings is empty.