Bump hyperion-py to 0.7.6 and add switch for Audio Capture to Hyperion Integration (#145952)

Co-authored-by: ToniCipriani <ToniCipriani@users.noreply.github.com>
Co-authored-by: Robert Resch <robert@resch.dev>
This commit is contained in:
Calvin C
2025-06-11 15:20:22 -04:00
committed by GitHub
parent 4a15f12a0b
commit c01f521199
5 changed files with 9 additions and 3 deletions

View File

@ -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",

View File

@ -82,6 +82,9 @@
},
"usb_capture": {
"name": "Component USB capture"
},
"audio_capture": {
"name": "Component Audio capture"
}
},
"sensor": {

View File

@ -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]

2
requirements_all.txt generated
View File

@ -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

View File

@ -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