From 1cf1d2c2bb394c3e307a2166f4f5f925f4d2ae74 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 27 Sep 2022 16:50:40 -1000 Subject: [PATCH] Update pySwitchbot for newer firmwares (#79174) changelog: https://github.com/Danielhiversen/pySwitchbot/compare/0.19.11...0.19.12 found while developing bluetooth proxies for esphome --- homeassistant/components/switchbot/manifest.json | 6 +++++- homeassistant/generated/bluetooth.py | 5 +++++ requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/switchbot/manifest.json b/homeassistant/components/switchbot/manifest.json index 2c8172750c3..cb81252fe21 100644 --- a/homeassistant/components/switchbot/manifest.json +++ b/homeassistant/components/switchbot/manifest.json @@ -2,7 +2,7 @@ "domain": "switchbot", "name": "SwitchBot", "documentation": "https://www.home-assistant.io/integrations/switchbot", - "requirements": ["PySwitchbot==0.19.11"], + "requirements": ["PySwitchbot==0.19.12"], "config_flow": true, "dependencies": ["bluetooth"], "codeowners": [ @@ -13,6 +13,10 @@ "@Eloston" ], "bluetooth": [ + { + "service_data_uuid": "00000d00-0000-1000-8000-00805f9b34fb", + "connectable": false + }, { "service_data_uuid": "0000fd3d-0000-1000-8000-00805f9b34fb", "connectable": false diff --git a/homeassistant/generated/bluetooth.py b/homeassistant/generated/bluetooth.py index 8a9594f83ff..3036f691f00 100644 --- a/homeassistant/generated/bluetooth.py +++ b/homeassistant/generated/bluetooth.py @@ -263,6 +263,11 @@ BLUETOOTH: list[dict[str, bool | str | int | list[int]]] = [ "local_name": "SensorPush*", "connectable": False, }, + { + "domain": "switchbot", + "service_data_uuid": "00000d00-0000-1000-8000-00805f9b34fb", + "connectable": False, + }, { "domain": "switchbot", "service_data_uuid": "0000fd3d-0000-1000-8000-00805f9b34fb", diff --git a/requirements_all.txt b/requirements_all.txt index a4e2f6b00ef..834f54a7182 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -40,7 +40,7 @@ PyRMVtransport==0.3.3 PySocks==1.7.1 # homeassistant.components.switchbot -PySwitchbot==0.19.11 +PySwitchbot==0.19.12 # homeassistant.components.transport_nsw PyTransportNSW==0.1.1 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 6e46d73d7cc..9d216c6b20d 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -36,7 +36,7 @@ PyRMVtransport==0.3.3 PySocks==1.7.1 # homeassistant.components.switchbot -PySwitchbot==0.19.11 +PySwitchbot==0.19.12 # homeassistant.components.transport_nsw PyTransportNSW==0.1.1