Skip to content

Commit

Permalink
use default None for steeringWheelPosition and windowHeatingState
Browse files Browse the repository at this point in the history
  • Loading branch information
prvakt committed Jan 10, 2025
1 parent e79e424 commit 44a7b20
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions myskoda/models/air_conditioning.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,11 @@ class AirConditioning(DataClassORJSONMixin):
timers: list[AirConditioningTimer]
errors: list[Any]
state: AirConditioningState
steering_wheel_position: Side = field(metadata=field_options(alias="steeringWheelPosition"))
window_heating_state: WindowHeatingState = field(
metadata=field_options(alias="windowHeatingState")
steering_wheel_position: Side | None = field(
default=None, metadata=field_options(alias="steeringWheelPosition")
)
window_heating_state: WindowHeatingState | None = field(
default=None, metadata=field_options(alias="windowHeatingState")
)
car_captured_timestamp: datetime | None = field(
default=None, metadata=field_options(alias="carCapturedTimestamp")
Expand Down

0 comments on commit 44a7b20

Please sign in to comment.