Skip to content

Commit

Permalink
Merge pull request #44 from Leggin/42-get_scenes-gives-pydantic-valid…
Browse files Browse the repository at this point in the history
…ationerror

make scene attribute 'last_undo' optional
  • Loading branch information
Leggin authored Jan 22, 2024
2 parents 3ac35f6 + 5828bc8 commit 246c7bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dirigera/devices/scene.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class Scene(BaseIkeaModel):
created_at: datetime.datetime
last_completed: Optional[datetime.datetime]
last_triggered: Optional[datetime.datetime]
last_undo: datetime.datetime
last_undo: Optional[datetime.datetime]
commands: List[str]
undo_allowed_duration: int

Expand Down

0 comments on commit 246c7bd

Please sign in to comment.