File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838)
3939from pyoverkiz .models import (
4040 Action ,
41- ActionGroup ,
4241 Device ,
4342 Event ,
4443 Execution ,
4746 HistoryExecution ,
4847 Option ,
4948 OptionParameter ,
49+ PersistedActionGroup ,
5050 Place ,
5151 ProtocolType ,
5252 ServerConfig ,
@@ -577,10 +577,10 @@ async def cancel_execution(self, exec_id: str) -> None:
577577 await self ._delete (f"exec/current/setup/{ exec_id } " )
578578
579579 @retry_on_auth_error
580- async def get_action_groups (self ) -> list [ActionGroup ]:
580+ async def get_action_groups (self ) -> list [PersistedActionGroup ]:
581581 """List action groups persisted on the server."""
582582 response = await self ._get ("actionGroups" )
583- return converter .structure (decamelize (response ), list [ActionGroup ])
583+ return converter .structure (decamelize (response ), list [PersistedActionGroup ])
584584
585585 @retry_on_auth_error
586586 async def get_places (self ) -> Place :
You can’t perform that action at this time.
0 commit comments