1
0
mirror of https://github.com/natekspencer/hacs-oasis_mini.git synced 2025-12-06 18:44:14 -05:00

Address PR comments

This commit is contained in:
Nathan Spencer
2025-11-24 04:31:52 +00:00
parent 1d521bcc18
commit 14223bd1c9
3 changed files with 6 additions and 4 deletions

View File

@@ -39,7 +39,7 @@ def _parse_int(val: str) -> int:
"""
try:
return int(val)
except Exception: # noqa: BLE001
except (TypeError, ValueError):
return 0