From 51326bd8c7caa65c651be40ea9b9a78183b2ea11 Mon Sep 17 00:00:00 2001 From: boozer2 <50851629+boozer2@users.noreply.github.com> Date: Mon, 19 Jun 2023 14:35:44 -0400 Subject: [PATCH] Add Switchbot Indoor/Outdoor Meter (#94836) Co-authored-by: J. Nick Koston --- homeassistant/components/switchbot/const.py | 1 + homeassistant/components/switchbot/manifest.json | 2 +- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/switchbot/const.py b/homeassistant/components/switchbot/const.py index a21bd859efc..17e95486298 100644 --- a/homeassistant/components/switchbot/const.py +++ b/homeassistant/components/switchbot/const.py @@ -42,6 +42,7 @@ CONNECTABLE_SUPPORTED_MODEL_TYPES = { NON_CONNECTABLE_SUPPORTED_MODEL_TYPES = { SwitchbotModel.METER: SupportedModels.HYGROMETER, + SwitchbotModel.IO_METER: SupportedModels.HYGROMETER, SwitchbotModel.CONTACT_SENSOR: SupportedModels.CONTACT, SwitchbotModel.MOTION_SENSOR: SupportedModels.MOTION, } diff --git a/homeassistant/components/switchbot/manifest.json b/homeassistant/components/switchbot/manifest.json index c90a1a64289..e45ea1f893e 100644 --- a/homeassistant/components/switchbot/manifest.json +++ b/homeassistant/components/switchbot/manifest.json @@ -40,5 +40,5 @@ "documentation": "https://www.home-assistant.io/integrations/switchbot", "iot_class": "local_push", "loggers": ["switchbot"], - "requirements": ["PySwitchbot==0.37.6"] + "requirements": ["PySwitchbot==0.38.0"] } diff --git a/requirements_all.txt b/requirements_all.txt index a68df43a1e9..adddc713d52 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -99,7 +99,7 @@ PyRMVtransport==0.3.3 PySocks==1.7.1 # homeassistant.components.switchbot -PySwitchbot==0.37.6 +PySwitchbot==0.38.0 # homeassistant.components.switchmate PySwitchmate==0.5.1 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 84841def92e..9db0f3bac76 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -86,7 +86,7 @@ PyRMVtransport==0.3.3 PySocks==1.7.1 # homeassistant.components.switchbot -PySwitchbot==0.37.6 +PySwitchbot==0.38.0 # homeassistant.components.syncthru PySyncThru==0.7.10