mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 03:37:07 +00: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:
parent
4a15f12a0b
commit
c01f521199
@ -6,7 +6,7 @@
|
|||||||
"documentation": "https://www.home-assistant.io/integrations/hyperion",
|
"documentation": "https://www.home-assistant.io/integrations/hyperion",
|
||||||
"iot_class": "local_push",
|
"iot_class": "local_push",
|
||||||
"loggers": ["hyperion"],
|
"loggers": ["hyperion"],
|
||||||
"requirements": ["hyperion-py==0.7.5"],
|
"requirements": ["hyperion-py==0.7.6"],
|
||||||
"ssdp": [
|
"ssdp": [
|
||||||
{
|
{
|
||||||
"manufacturer": "Hyperion Open Source Ambient Lighting",
|
"manufacturer": "Hyperion Open Source Ambient Lighting",
|
||||||
|
@ -82,6 +82,9 @@
|
|||||||
},
|
},
|
||||||
"usb_capture": {
|
"usb_capture": {
|
||||||
"name": "Component USB capture"
|
"name": "Component USB capture"
|
||||||
|
},
|
||||||
|
"audio_capture": {
|
||||||
|
"name": "Component Audio capture"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"sensor": {
|
"sensor": {
|
||||||
|
@ -9,6 +9,7 @@ from hyperion import client
|
|||||||
from hyperion.const import (
|
from hyperion.const import (
|
||||||
KEY_COMPONENT,
|
KEY_COMPONENT,
|
||||||
KEY_COMPONENTID_ALL,
|
KEY_COMPONENTID_ALL,
|
||||||
|
KEY_COMPONENTID_AUDIO,
|
||||||
KEY_COMPONENTID_BLACKBORDER,
|
KEY_COMPONENTID_BLACKBORDER,
|
||||||
KEY_COMPONENTID_BOBLIGHTSERVER,
|
KEY_COMPONENTID_BOBLIGHTSERVER,
|
||||||
KEY_COMPONENTID_FORWARDER,
|
KEY_COMPONENTID_FORWARDER,
|
||||||
@ -59,6 +60,7 @@ COMPONENT_SWITCHES = [
|
|||||||
KEY_COMPONENTID_GRABBER,
|
KEY_COMPONENTID_GRABBER,
|
||||||
KEY_COMPONENTID_LEDDEVICE,
|
KEY_COMPONENTID_LEDDEVICE,
|
||||||
KEY_COMPONENTID_V4L,
|
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_GRABBER: "platform_capture",
|
||||||
KEY_COMPONENTID_LEDDEVICE: "led_device",
|
KEY_COMPONENTID_LEDDEVICE: "led_device",
|
||||||
KEY_COMPONENTID_V4L: "usb_capture",
|
KEY_COMPONENTID_V4L: "usb_capture",
|
||||||
|
KEY_COMPONENTID_AUDIO: "audio_capture",
|
||||||
}[component]
|
}[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
|
huum==0.7.12
|
||||||
|
|
||||||
# homeassistant.components.hyperion
|
# homeassistant.components.hyperion
|
||||||
hyperion-py==0.7.5
|
hyperion-py==0.7.6
|
||||||
|
|
||||||
# homeassistant.components.iammeter
|
# homeassistant.components.iammeter
|
||||||
iammeter==0.2.1
|
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
|
huum==0.7.12
|
||||||
|
|
||||||
# homeassistant.components.hyperion
|
# homeassistant.components.hyperion
|
||||||
hyperion-py==0.7.5
|
hyperion-py==0.7.6
|
||||||
|
|
||||||
# homeassistant.components.iaqualink
|
# homeassistant.components.iaqualink
|
||||||
iaqualink==0.5.3
|
iaqualink==0.5.3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user