diff --git a/homeassistant/components/bosch_shc/manifest.json b/homeassistant/components/bosch_shc/manifest.json index 90558936592..9fd1055dd60 100644 --- a/homeassistant/components/bosch_shc/manifest.json +++ b/homeassistant/components/bosch_shc/manifest.json @@ -7,7 +7,7 @@ "documentation": "https://www.home-assistant.io/integrations/bosch_shc", "iot_class": "local_push", "loggers": ["boschshcpy"], - "requirements": ["boschshcpy==0.2.35"], + "requirements": ["boschshcpy==0.2.57"], "zeroconf": [ { "type": "_http._tcp.local.", diff --git a/homeassistant/components/bosch_shc/sensor.py b/homeassistant/components/bosch_shc/sensor.py index b310799323a..73307d9ea0a 100644 --- a/homeassistant/components/bosch_shc/sensor.py +++ b/homeassistant/components/bosch_shc/sensor.py @@ -117,7 +117,7 @@ async def async_setup_entry( ) for sensor in ( - session.device_helper.smart_plugs + session.device_helper.light_switches + session.device_helper.smart_plugs + session.device_helper.light_switches_bsm ): entities.append( PowerSensor( diff --git a/homeassistant/components/bosch_shc/switch.py b/homeassistant/components/bosch_shc/switch.py index 6fe06213d75..3b3b6e2ffd4 100644 --- a/homeassistant/components/bosch_shc/switch.py +++ b/homeassistant/components/bosch_shc/switch.py @@ -111,7 +111,7 @@ async def async_setup_entry( ) ) - for switch in session.device_helper.light_switches: + for switch in session.device_helper.light_switches_bsm: entities.append( SHCSwitch( device=switch, diff --git a/requirements_all.txt b/requirements_all.txt index 20e397d2485..40c3b78cda0 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -546,7 +546,7 @@ bluetooth-data-tools==1.2.0 bond-async==0.1.23 # homeassistant.components.bosch_shc -boschshcpy==0.2.35 +boschshcpy==0.2.57 # homeassistant.components.amazon_polly # homeassistant.components.route53 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 99ab6ab5df1..71f25415549 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -457,7 +457,7 @@ bluetooth-data-tools==1.2.0 bond-async==0.1.23 # homeassistant.components.bosch_shc -boschshcpy==0.2.35 +boschshcpy==0.2.57 # homeassistant.components.broadlink broadlink==0.18.3