From f450b939e391b37b11df81b1bf6c2e116acea37a Mon Sep 17 00:00:00 2001 From: Pavels Veretennikovs Date: Sat, 9 Nov 2024 21:48:31 +0200 Subject: [PATCH] fix: make AmcState.remote optional --- custom_components/amc_alarm/amc_alarm_api/amc_proto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/amc_alarm/amc_alarm_api/amc_proto.py b/custom_components/amc_alarm/amc_alarm_api/amc_proto.py index 15d5fa8..75a2fe4 100644 --- a/custom_components/amc_alarm/amc_alarm_api/amc_proto.py +++ b/custom_components/amc_alarm/amc_alarm_api/amc_proto.py @@ -21,7 +21,7 @@ class AmcState(BaseModel): anomaly: int bit_opened: int bit_notReady: int - remote: bool + remote: Optional[bool] progress: Optional[int]