diff --git a/homeassistant/components/screenlogic/manifest.json b/homeassistant/components/screenlogic/manifest.json index 0c2a427d7f2..977ef59f9e7 100644 --- a/homeassistant/components/screenlogic/manifest.json +++ b/homeassistant/components/screenlogic/manifest.json @@ -15,5 +15,5 @@ "documentation": "https://www.home-assistant.io/integrations/screenlogic", "iot_class": "local_push", "loggers": ["screenlogicpy"], - "requirements": ["screenlogicpy==0.7.1"] + "requirements": ["screenlogicpy==0.7.2"] } diff --git a/homeassistant/components/screenlogic/switch.py b/homeassistant/components/screenlogic/switch.py index 35bd1edb84f..96bced70867 100644 --- a/homeassistant/components/screenlogic/switch.py +++ b/homeassistant/components/screenlogic/switch.py @@ -1,7 +1,12 @@ """Support for a ScreenLogic 'circuit' switch.""" import logging -from screenlogicpy.const import CODE, DATA as SL_DATA, GENERIC_CIRCUIT_NAMES +from screenlogicpy.const import ( + CODE, + DATA as SL_DATA, + GENERIC_CIRCUIT_NAMES, + INTERFACE_GROUP, +) from homeassistant.components.switch import SwitchEntity from homeassistant.config_entries import ConfigEntry @@ -31,7 +36,8 @@ async def async_setup_entry( coordinator, circuit_num, CODE.STATUS_CHANGED, - circuit["name"] not in GENERIC_CIRCUIT_NAMES, + circuit["name"] not in GENERIC_CIRCUIT_NAMES + and circuit["interface"] != INTERFACE_GROUP.DONT_SHOW, ) for circuit_num, circuit in circuits.items() if circuit["function"] not in LIGHT_CIRCUIT_FUNCTIONS diff --git a/requirements_all.txt b/requirements_all.txt index b8bed339eb5..f3a6a0c32ba 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -2300,7 +2300,7 @@ satel_integra==0.3.7 scapy==2.5.0 # homeassistant.components.screenlogic -screenlogicpy==0.7.1 +screenlogicpy==0.7.2 # homeassistant.components.scsgate scsgate==0.1.0 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 38df7c78f38..3b80b4e162c 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -1621,7 +1621,7 @@ samsungtvws[async,encrypted]==2.5.0 scapy==2.5.0 # homeassistant.components.screenlogic -screenlogicpy==0.7.1 +screenlogicpy==0.7.2 # homeassistant.components.backup securetar==2022.2.0