From ac8a12f99cf1255c8bb118fcc7e2d4ec0275bbb6 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 6 Sep 2022 02:55:43 -0500 Subject: [PATCH] Bump thermopro-ble to 0.4.3 (#77863) * Bump thermopro-ble to 0.4.2 - Turns on rounding of long values - Uses bluetooth-data-tools under the hood - Adds the TP393 since it works without any changes to the parser Changelog: https://github.com/Bluetooth-Devices/thermopro-ble/compare/v0.4.0...v0.4.2 * bump again for device detection fix --- homeassistant/components/thermopro/manifest.json | 7 +++++-- homeassistant/generated/bluetooth.py | 5 +++++ requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/homeassistant/components/thermopro/manifest.json b/homeassistant/components/thermopro/manifest.json index 912a070ccf1..dca643a28cf 100644 --- a/homeassistant/components/thermopro/manifest.json +++ b/homeassistant/components/thermopro/manifest.json @@ -3,9 +3,12 @@ "name": "ThermoPro", "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/thermopro", - "bluetooth": [{ "local_name": "TP35*", "connectable": false }], + "bluetooth": [ + { "local_name": "TP35*", "connectable": false }, + { "local_name": "TP39*", "connectable": false } + ], "dependencies": ["bluetooth"], - "requirements": ["thermopro-ble==0.4.0"], + "requirements": ["thermopro-ble==0.4.3"], "codeowners": ["@bdraco"], "iot_class": "local_push" } diff --git a/homeassistant/generated/bluetooth.py b/homeassistant/generated/bluetooth.py index d7230213302..b2400f733da 100644 --- a/homeassistant/generated/bluetooth.py +++ b/homeassistant/generated/bluetooth.py @@ -269,6 +269,11 @@ BLUETOOTH: list[dict[str, bool | str | int | list[int]]] = [ "local_name": "TP35*", "connectable": False }, + { + "domain": "thermopro", + "local_name": "TP39*", + "connectable": False + }, { "domain": "xiaomi_ble", "connectable": False, diff --git a/requirements_all.txt b/requirements_all.txt index cebc6dde48b..dafc3f798a0 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -2369,7 +2369,7 @@ tesla-wall-connector==1.0.2 thermobeacon-ble==0.3.1 # homeassistant.components.thermopro -thermopro-ble==0.4.0 +thermopro-ble==0.4.3 # homeassistant.components.thermoworks_smoke thermoworks_smoke==0.1.8 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 1fc0f5cd9a3..399fa7427c9 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -1618,7 +1618,7 @@ tesla-wall-connector==1.0.2 thermobeacon-ble==0.3.1 # homeassistant.components.thermopro -thermopro-ble==0.4.0 +thermopro-ble==0.4.3 # homeassistant.components.todoist todoist-python==8.0.0