Skip to content

Commit

Permalink
type fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yozik04 committed Feb 13, 2024
1 parent a4ba145 commit 821485f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vallox_websocket_api/vallox.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def swap16(val: int) -> int:
return ((val & 0xFF) << 8) | ((val >> 8) & 0xFF)


def _get_alarm_date(raw: int) -> Optional[date]:
def _get_alarm_date(raw: Optional[int]) -> Optional[date]:
if raw is None:
return None

Expand Down

0 comments on commit 821485f

Please sign in to comment.