From 8985527a872e4fe86c4d53605ee293d0f53bc985 Mon Sep 17 00:00:00 2001 From: Kevin McCormack Date: Sat, 4 Oct 2025 10:34:37 -0400 Subject: [PATCH] Bump libpyvivotek to 0.6.1 and add strict typing for Vivotek integration (#153342) Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .strict-typing | 1 + homeassistant/components/vivotek/manifest.json | 2 +- mypy.ini | 10 ++++++++++ requirements_all.txt | 2 +- 4 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.strict-typing b/.strict-typing index e950da8d25d..291c3d78e67 100644 --- a/.strict-typing +++ b/.strict-typing @@ -555,6 +555,7 @@ homeassistant.components.vacuum.* homeassistant.components.vallox.* homeassistant.components.valve.* homeassistant.components.velbus.* +homeassistant.components.vivotek.* homeassistant.components.vlc_telnet.* homeassistant.components.vodafone_station.* homeassistant.components.volvo.* diff --git a/homeassistant/components/vivotek/manifest.json b/homeassistant/components/vivotek/manifest.json index f0b622afcad..74a8bf9b750 100644 --- a/homeassistant/components/vivotek/manifest.json +++ b/homeassistant/components/vivotek/manifest.json @@ -6,5 +6,5 @@ "iot_class": "local_polling", "loggers": ["libpyvivotek"], "quality_scale": "legacy", - "requirements": ["libpyvivotek==0.4.0"] + "requirements": ["libpyvivotek==0.6.1"] } diff --git a/mypy.ini b/mypy.ini index 1813576cf23..81776140629 100644 --- a/mypy.ini +++ b/mypy.ini @@ -5309,6 +5309,16 @@ disallow_untyped_defs = true warn_return_any = true warn_unreachable = true +[mypy-homeassistant.components.vivotek.*] +check_untyped_defs = true +disallow_incomplete_defs = true +disallow_subclassing_any = true +disallow_untyped_calls = true +disallow_untyped_decorators = true +disallow_untyped_defs = true +warn_return_any = true +warn_unreachable = true + [mypy-homeassistant.components.vlc_telnet.*] check_untyped_defs = true disallow_incomplete_defs = true diff --git a/requirements_all.txt b/requirements_all.txt index 9ceeded4b43..aafe1e33e05 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -1358,7 +1358,7 @@ letpot==0.6.2 libpyfoscamcgi==0.0.7 # homeassistant.components.vivotek -libpyvivotek==0.4.0 +libpyvivotek==0.6.1 # homeassistant.components.libre_hardware_monitor librehardwaremonitor-api==1.4.0