From cbf7ca6a9ac23ee83e23e98c571025ec9e866896 Mon Sep 17 00:00:00 2001 From: hanwg Date: Sat, 7 Jun 2025 20:47:48 +0800 Subject: [PATCH 1/3] Add bronze quality scale for Telegram bot integration (#146148) * added quality scale * updated appropriate-polling comment * Remove entities comment --------- Co-authored-by: Martin Hjelmare --- .../components/telegram_bot/manifest.json | 2 +- .../telegram_bot/quality_scale.yaml | 72 +++++++++++++++++++ script/hassfest/quality_scale.py | 2 - 3 files changed, 73 insertions(+), 3 deletions(-) create mode 100644 homeassistant/components/telegram_bot/quality_scale.yaml diff --git a/homeassistant/components/telegram_bot/manifest.json b/homeassistant/components/telegram_bot/manifest.json index b0be5583192aa4..27c10602350a65 100644 --- a/homeassistant/components/telegram_bot/manifest.json +++ b/homeassistant/components/telegram_bot/manifest.json @@ -7,6 +7,6 @@ "documentation": "https://www.home-assistant.io/integrations/telegram_bot", "iot_class": "cloud_push", "loggers": ["telegram"], - "quality_scale": "legacy", + "quality_scale": "bronze", "requirements": ["python-telegram-bot[socks]==21.5"] } diff --git a/homeassistant/components/telegram_bot/quality_scale.yaml b/homeassistant/components/telegram_bot/quality_scale.yaml new file mode 100644 index 00000000000000..495da7d0e80d76 --- /dev/null +++ b/homeassistant/components/telegram_bot/quality_scale.yaml @@ -0,0 +1,72 @@ +rules: + # Bronze + action-setup: done + appropriate-polling: + status: exempt + comment: | + The integration provides webhooks (push based), polling (long polling) and broadcast (no data fetching) platforms which do not have interval polling. + brands: done + common-modules: done + config-flow-test-coverage: done + config-flow: done + dependency-transparency: done + docs-actions: done + docs-high-level-description: done + docs-installation-instructions: done + docs-removal-instructions: done + entity-event-setup: + status: exempt + comment: | + The integration does not provide any entities. + entity-unique-id: + status: exempt + comment: | + The integration does not provide any entities. + has-entity-name: + status: exempt + comment: | + The integration does not provide any entities. + runtime-data: done + test-before-configure: done + test-before-setup: done + unique-config-entry: done + + # Silver + action-exceptions: todo + config-entry-unloading: done + docs-configuration-parameters: todo + docs-installation-parameters: todo + entity-unavailable: todo + integration-owner: todo + log-when-unavailable: todo + parallel-updates: todo + reauthentication-flow: done + test-coverage: todo + + # Gold + devices: todo + diagnostics: todo + discovery-update-info: todo + discovery: todo + docs-data-update: todo + docs-examples: todo + docs-known-limitations: todo + docs-supported-devices: todo + docs-supported-functions: todo + docs-troubleshooting: todo + docs-use-cases: todo + dynamic-devices: todo + entity-category: todo + entity-device-class: todo + entity-disabled-by-default: todo + entity-translations: todo + exception-translations: todo + icon-translations: todo + reconfiguration-flow: todo + repair-issues: todo + stale-devices: todo + + # Platinum + async-dependency: todo + inject-websession: todo + strict-typing: todo diff --git a/script/hassfest/quality_scale.py b/script/hassfest/quality_scale.py index f27106570bd6c5..73cd0bc37d9be3 100644 --- a/script/hassfest/quality_scale.py +++ b/script/hassfest/quality_scale.py @@ -985,7 +985,6 @@ class Rule: "technove", "ted5000", "telegram", - "telegram_bot", "tellduslive", "tellstick", "telnet", @@ -2054,7 +2053,6 @@ class Rule: "technove", "ted5000", "telegram", - "telegram_bot", "tellduslive", "tellstick", "telnet", From 44c63ce6f1e90874e59705ecaa21dd7836d0dcc3 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sat, 7 Jun 2025 09:30:43 -0500 Subject: [PATCH 2/3] Bump aiohttp-fast-zlib to 0.3.0 (#146285) changelog: https://github.com/Bluetooth-Devices/aiohttp-fast-zlib/compare/v0.2.3...v0.3.0 proper aiohttp 3.12 support --- homeassistant/package_constraints.txt | 2 +- pyproject.toml | 2 +- requirements.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/homeassistant/package_constraints.txt b/homeassistant/package_constraints.txt index 43c08aa464c3ea..05f9c1264ec69d 100644 --- a/homeassistant/package_constraints.txt +++ b/homeassistant/package_constraints.txt @@ -5,7 +5,7 @@ aiodiscover==2.7.0 aiodns==3.4.0 aiohasupervisor==0.3.1 aiohttp-asyncmdnsresolver==0.1.1 -aiohttp-fast-zlib==0.2.3 +aiohttp-fast-zlib==0.3.0 aiohttp==3.12.9 aiohttp_cors==0.8.1 aiousbwatcher==1.1.1 diff --git a/pyproject.toml b/pyproject.toml index eb40aa3539e678..c809227791010e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,7 +30,7 @@ dependencies = [ "aiohasupervisor==0.3.1", "aiohttp==3.12.9", "aiohttp_cors==0.8.1", - "aiohttp-fast-zlib==0.2.3", + "aiohttp-fast-zlib==0.3.0", "aiohttp-asyncmdnsresolver==0.1.1", "aiozoneinfo==0.2.3", "annotatedyaml==0.4.5", diff --git a/requirements.txt b/requirements.txt index 3bcf7faf16b3f5..cca9b14b05e4ba 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,7 +7,7 @@ aiodns==3.4.0 aiohasupervisor==0.3.1 aiohttp==3.12.9 aiohttp_cors==0.8.1 -aiohttp-fast-zlib==0.2.3 +aiohttp-fast-zlib==0.3.0 aiohttp-asyncmdnsresolver==0.1.1 aiozoneinfo==0.2.3 annotatedyaml==0.4.5 From 7f9f10672951cd59fffb8de041a958cad6b2613f Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Sat, 7 Jun 2025 16:58:53 +0200 Subject: [PATCH 3/3] Update airtouch5py to 0.3.0 (#146278) --- homeassistant/components/airtouch5/manifest.json | 2 +- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/airtouch5/manifest.json b/homeassistant/components/airtouch5/manifest.json index 58ef8668ebe105..be1c640cf5d2bb 100644 --- a/homeassistant/components/airtouch5/manifest.json +++ b/homeassistant/components/airtouch5/manifest.json @@ -6,5 +6,5 @@ "documentation": "https://www.home-assistant.io/integrations/airtouch5", "iot_class": "local_push", "loggers": ["airtouch5py"], - "requirements": ["airtouch5py==0.2.11"] + "requirements": ["airtouch5py==0.3.0"] } diff --git a/requirements_all.txt b/requirements_all.txt index 214c5d73f765dd..8f42a59a6ffd7f 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -456,7 +456,7 @@ airthings-cloud==0.2.0 airtouch4pyapi==1.0.5 # homeassistant.components.airtouch5 -airtouch5py==0.2.11 +airtouch5py==0.3.0 # homeassistant.components.alpha_vantage alpha-vantage==2.3.1 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index c45bf7fc434b56..b24196bb49b96b 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -438,7 +438,7 @@ airthings-cloud==0.2.0 airtouch4pyapi==1.0.5 # homeassistant.components.airtouch5 -airtouch5py==0.2.11 +airtouch5py==0.3.0 # homeassistant.components.amberelectric amberelectric==2.0.12