mirror of
https://github.com/home-assistant/core.git
synced 2025-06-25 01:21:51 +02:00
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:
@ -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",
|
||||
|
@ -82,6 +82,9 @@
|
||||
},
|
||||
"usb_capture": {
|
||||
"name": "Component USB capture"
|
||||
},
|
||||
"audio_capture": {
|
||||
"name": "Component Audio capture"
|
||||
}
|
||||
},
|
||||
"sensor": {
|
||||
|
@ -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
2
requirements_all.txt
generated
@ -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
|
||||
|
2
requirements_test_all.txt
generated
2
requirements_test_all.txt
generated
@ -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
|
||||
|
Reference in New Issue
Block a user