diff --git a/homeassistant/components/hyperion/manifest.json b/homeassistant/components/hyperion/manifest.json index 684fb276f53..6c14b2ddf6c 100644 --- a/homeassistant/components/hyperion/manifest.json +++ b/homeassistant/components/hyperion/manifest.json @@ -6,7 +6,7 @@ "documentation": "https://www.home-assistant.io/integrations/hyperion", "iot_class": "local_push", "loggers": ["hyperion"], - "requirements": ["hyperion-py==0.7.5"], + "requirements": ["hyperion-py==0.7.6"], "ssdp": [ { "manufacturer": "Hyperion Open Source Ambient Lighting", diff --git a/homeassistant/components/hyperion/strings.json b/homeassistant/components/hyperion/strings.json index ea7bc9e39fa..c53754c712a 100644 --- a/homeassistant/components/hyperion/strings.json +++ b/homeassistant/components/hyperion/strings.json @@ -82,6 +82,9 @@ }, "usb_capture": { "name": "Component USB capture" + }, + "audio_capture": { + "name": "Component Audio capture" } }, "sensor": { diff --git a/homeassistant/components/hyperion/switch.py b/homeassistant/components/hyperion/switch.py index c082c685304..b1288936636 100644 --- a/homeassistant/components/hyperion/switch.py +++ b/homeassistant/components/hyperion/switch.py @@ -9,6 +9,7 @@ from hyperion import client from hyperion.const import ( KEY_COMPONENT, KEY_COMPONENTID_ALL, + KEY_COMPONENTID_AUDIO, KEY_COMPONENTID_BLACKBORDER, KEY_COMPONENTID_BOBLIGHTSERVER, KEY_COMPONENTID_FORWARDER, @@ -59,6 +60,7 @@ COMPONENT_SWITCHES = [ KEY_COMPONENTID_GRABBER, KEY_COMPONENTID_LEDDEVICE, KEY_COMPONENTID_V4L, + KEY_COMPONENTID_AUDIO, ] @@ -83,6 +85,7 @@ def _component_to_translation_key(component: str) -> str: KEY_COMPONENTID_GRABBER: "platform_capture", KEY_COMPONENTID_LEDDEVICE: "led_device", KEY_COMPONENTID_V4L: "usb_capture", + KEY_COMPONENTID_AUDIO: "audio_capture", }[component] diff --git a/requirements_all.txt b/requirements_all.txt index e18d8242071..14b2b81b3af 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -1185,7 +1185,7 @@ huawei-lte-api==1.11.0 huum==0.7.12 # homeassistant.components.hyperion -hyperion-py==0.7.5 +hyperion-py==0.7.6 # homeassistant.components.iammeter iammeter==0.2.1 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 217ce5d97a0..e714ffb1c93 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -1028,7 +1028,7 @@ huawei-lte-api==1.11.0 huum==0.7.12 # homeassistant.components.hyperion -hyperion-py==0.7.5 +hyperion-py==0.7.6 # homeassistant.components.iaqualink iaqualink==0.5.3