Skip to content

v0.5.0

Choose a tag to compare

@aaearon aaearon released this 01 May 11:56
· 14 commits to main since this release

Breaking changes

  • SolarSettings.to_dict() now emits flat integers instead of nested {"value": N} objects, matching the APK's SetSolarSettings DTO. This fixes HTTP 502 errors on set_solar_settings (#9).
  • ChargeSchedule.delayed_start changed from Optional[str] to Optional[DelayedStartSetting].
  • ChargeSchedule.to_dict() now emits per-day weekSchedule with beginTimeHour/beginTimeMinute/endTimeHour/endTimeMinute ints.

New

  • DelayedStartSetting dataclass with from_dict()/to_dict()
  • ScheduleSlot.to_dict() and ChargeSchedule.to_dict() for controlled serialization
  • UpperLowerLimitSetting.to_dict() echoes back the full raw GET shape and validates integral values

Fixes

  • Case-insensitive day abbreviation lookup in ScheduleSlot.from_dict()
  • Shared dict aliasing in ChargeSchedule.to_dict()
  • Zero-padded hours in ScheduleSlot.from_dict()
  • GrantUpgradePermissionParameters docstring accuracy