From 3cbe1295f917f128fb63d487c65e673513dc6b73 Mon Sep 17 00:00:00 2001 From: Manu <4445816+tr4nt0r@users.noreply.github.com> Date: Wed, 11 Feb 2026 19:35:12 +0100 Subject: [PATCH] Bump pythonkuma to 0.4.1 (#162773) --- .../components/uptime_kuma/manifest.json | 2 +- .../components/uptime_kuma/strings.json | 6 ++++- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- .../snapshots/test_diagnostics.ambr | 18 ++++++++++++++ .../uptime_kuma/snapshots/test_sensor.ambr | 24 +++++++++++++++++++ 6 files changed, 50 insertions(+), 4 deletions(-) diff --git a/homeassistant/components/uptime_kuma/manifest.json b/homeassistant/components/uptime_kuma/manifest.json index 9376b09e05f..dc323e7b088 100644 --- a/homeassistant/components/uptime_kuma/manifest.json +++ b/homeassistant/components/uptime_kuma/manifest.json @@ -8,5 +8,5 @@ "iot_class": "cloud_polling", "loggers": ["pythonkuma"], "quality_scale": "platinum", - "requirements": ["pythonkuma==0.3.2"] + "requirements": ["pythonkuma==0.4.1"] } diff --git a/homeassistant/components/uptime_kuma/strings.json b/homeassistant/components/uptime_kuma/strings.json index 24ba6b5a6ef..20947a1818e 100644 --- a/homeassistant/components/uptime_kuma/strings.json +++ b/homeassistant/components/uptime_kuma/strings.json @@ -88,6 +88,7 @@ "dns": "DNS", "docker": "Docker", "gamedig": "GameDig", + "globalping": "Globalping", "group": "Group", "grpc_keyword": "gRPC(s) - Keyword", "http": "HTTP(s)", @@ -106,11 +107,14 @@ "radius": "RADIUS", "real_browser": "HTTP(s) - Browser engine", "redis": "Redis", + "sip_options": "SIP OPTIONS Ping", "smtp": "SMTP", "snmp": "SNMP", "sqlserver": "Microsoft SQL Server", "steam": "Steam Game Server", - "tailscale_ping": "Tailscale Ping" + "system_service": "System service", + "tailscale_ping": "Tailscale Ping", + "websocket_upgrade": "WebSocket-Upgrade" } }, "url": { diff --git a/requirements_all.txt b/requirements_all.txt index 914a43e4cb2..ebe306f4e7c 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -2636,7 +2636,7 @@ python-xbox==0.1.3 pythonegardia==1.0.52 # homeassistant.components.uptime_kuma -pythonkuma==0.3.2 +pythonkuma==0.4.1 # homeassistant.components.tile pytile==2024.12.0 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 8e5047fdaee..644a5a7a582 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -2220,7 +2220,7 @@ python-telegram-bot[socks]==22.1 python-xbox==0.1.3 # homeassistant.components.uptime_kuma -pythonkuma==0.3.2 +pythonkuma==0.4.1 # homeassistant.components.tile pytile==2024.12.0 diff --git a/tests/components/uptime_kuma/snapshots/test_diagnostics.ambr b/tests/components/uptime_kuma/snapshots/test_diagnostics.ambr index 97e40e821da..592c1a839a9 100644 --- a/tests/components/uptime_kuma/snapshots/test_diagnostics.ambr +++ b/tests/components/uptime_kuma/snapshots/test_diagnostics.ambr @@ -9,8 +9,14 @@ 'monitor_name': 'Monitor 1', 'monitor_port': None, 'monitor_response_time': 120, + 'monitor_response_time_seconds_1d': None, + 'monitor_response_time_seconds_30d': None, + 'monitor_response_time_seconds_365d': None, 'monitor_status': 1, 'monitor_type': 'http', + 'monitor_uptime_ratio_1d': None, + 'monitor_uptime_ratio_30d': None, + 'monitor_uptime_ratio_365d': None, 'monitor_url': '**REDACTED**', }), '2': dict({ @@ -21,8 +27,14 @@ 'monitor_name': 'Monitor 2', 'monitor_port': None, 'monitor_response_time': 28, + 'monitor_response_time_seconds_1d': None, + 'monitor_response_time_seconds_30d': None, + 'monitor_response_time_seconds_365d': None, 'monitor_status': 1, 'monitor_type': 'port', + 'monitor_uptime_ratio_1d': None, + 'monitor_uptime_ratio_30d': None, + 'monitor_uptime_ratio_365d': None, 'monitor_url': None, }), '3': dict({ @@ -33,8 +45,14 @@ 'monitor_name': 'Monitor 3', 'monitor_port': None, 'monitor_response_time': 120, + 'monitor_response_time_seconds_1d': None, + 'monitor_response_time_seconds_30d': None, + 'monitor_response_time_seconds_365d': None, 'monitor_status': 0, 'monitor_type': 'json-query', + 'monitor_uptime_ratio_1d': None, + 'monitor_uptime_ratio_30d': None, + 'monitor_uptime_ratio_365d': None, 'monitor_url': '**REDACTED**', }), }) diff --git a/tests/components/uptime_kuma/snapshots/test_sensor.ambr b/tests/components/uptime_kuma/snapshots/test_sensor.ambr index f59cd675b44..c997de52898 100644 --- a/tests/components/uptime_kuma/snapshots/test_sensor.ambr +++ b/tests/components/uptime_kuma/snapshots/test_sensor.ambr @@ -87,6 +87,10 @@ 'rabbit_mq', 'manual', 'unknown', + 'websocket_upgrade', + 'system_service', + 'globalping', + 'sip_options', ]), }), 'config_entry_id': , @@ -152,6 +156,10 @@ 'rabbit_mq', 'manual', 'unknown', + 'websocket_upgrade', + 'system_service', + 'globalping', + 'sip_options', ]), }), 'context': , @@ -362,6 +370,10 @@ 'rabbit_mq', 'manual', 'unknown', + 'websocket_upgrade', + 'system_service', + 'globalping', + 'sip_options', ]), }), 'config_entry_id': , @@ -427,6 +439,10 @@ 'rabbit_mq', 'manual', 'unknown', + 'websocket_upgrade', + 'system_service', + 'globalping', + 'sip_options', ]), }), 'context': , @@ -740,6 +756,10 @@ 'rabbit_mq', 'manual', 'unknown', + 'websocket_upgrade', + 'system_service', + 'globalping', + 'sip_options', ]), }), 'config_entry_id': , @@ -805,6 +825,10 @@ 'rabbit_mq', 'manual', 'unknown', + 'websocket_upgrade', + 'system_service', + 'globalping', + 'sip_options', ]), }), 'context': ,