diff --git a/src/wokwi_client/pins.py b/src/wokwi_client/pins.py index aa4c79b..b033d06 100644 --- a/src/wokwi_client/pins.py +++ b/src/wokwi_client/pins.py @@ -11,7 +11,7 @@ # # SPDX-License-Identifier: MIT -from typing import TypedDict, Union +from typing import TypedDict from wokwi_client.protocol_types import ResponseMessage @@ -21,7 +21,7 @@ class PinReadMessage(TypedDict): pin: str direction: str - value: Union[float, int, bool] + value: bool pullUp: bool pullDown: bool @@ -30,7 +30,7 @@ class PinListenEvent(TypedDict): part: str pin: str direction: str - value: Union[float, int, bool] + value: bool pullUp: bool pullDown: bool