Skip to content

Commit

Permalink
Preserve WoL on shutdown (#376)
Browse files Browse the repository at this point in the history
  • Loading branch information
mib1185 authored Feb 9, 2025
1 parent 3880647 commit 609afa2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/synology_dsm/api/core/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ async def shutdown(self) -> None:
await self._dsm.get(
self.API_KEY,
"shutdown",
{"local": "true"},
max_version=1, # shutdown method is only available on api version 1
)

Expand Down

0 comments on commit 609afa2

Please sign in to comment.