diff --git a/sdk/types/scrypted_python/scrypted_sdk/other.py b/sdk/types/scrypted_python/scrypted_sdk/other.py index de61fc9fb..4b4b1fc81 100644 --- a/sdk/types/scrypted_python/scrypted_sdk/other.py +++ b/sdk/types/scrypted_python/scrypted_sdk/other.py @@ -1,7 +1,7 @@ from __future__ import annotations from enum import Enum -from typing import AbstractSet, Any, Callable, Literal +from typing import AbstractSet, Any, Callable, Literal, Union try: from typing import TypedDict except: @@ -9,7 +9,7 @@ except: SettingValue = str EventListener = Callable[[Any, Any, Any], None] -VibratePattern = int | list[int] +VibratePattern = Union[int, list[int]] class Console: