mirror of
https://github.com/koush/scrypted.git
synced 2026-05-04 21:30:30 +01:00
server: fix broken alerts. add python implementation stubs.
This commit is contained in:
@@ -34,7 +34,9 @@ class SystemManager(scrypted_python.scrypted_sdk.SystemManager):
|
||||
super().__init__()
|
||||
self.api = api
|
||||
self.systemState = systemState
|
||||
|
||||
|
||||
async def getComponent(self, id: str) -> Any:
|
||||
return await self.api.getComponent(id)
|
||||
|
||||
class DeviceState(scrypted_python.scrypted_sdk.DeviceState):
|
||||
def __init__(self, id: str, nativeId: str, systemManager: SystemManager, deviceManager: scrypted_python.scrypted_sdk.DeviceManager) -> None:
|
||||
|
||||
Reference in New Issue
Block a user