Skip to content

Commit c01f521

Browse files
Bump hyperion-py to 0.7.6 and add switch for Audio Capture to Hyperion Integration (home-assistant#145952)
Co-authored-by: ToniCipriani <[email protected]> Co-authored-by: Robert Resch <[email protected]>
1 parent 4a15f12 commit c01f521

File tree

5 files changed

+9
-3
lines changed

5 files changed

+9
-3
lines changed

homeassistant/components/hyperion/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"documentation": "https://www.home-assistant.io/integrations/hyperion",
77
"iot_class": "local_push",
88
"loggers": ["hyperion"],
9-
"requirements": ["hyperion-py==0.7.5"],
9+
"requirements": ["hyperion-py==0.7.6"],
1010
"ssdp": [
1111
{
1212
"manufacturer": "Hyperion Open Source Ambient Lighting",

homeassistant/components/hyperion/strings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@
8282
},
8383
"usb_capture": {
8484
"name": "Component USB capture"
85+
},
86+
"audio_capture": {
87+
"name": "Component Audio capture"
8588
}
8689
},
8790
"sensor": {

homeassistant/components/hyperion/switch.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
from hyperion.const import (
1010
KEY_COMPONENT,
1111
KEY_COMPONENTID_ALL,
12+
KEY_COMPONENTID_AUDIO,
1213
KEY_COMPONENTID_BLACKBORDER,
1314
KEY_COMPONENTID_BOBLIGHTSERVER,
1415
KEY_COMPONENTID_FORWARDER,
@@ -59,6 +60,7 @@
5960
KEY_COMPONENTID_GRABBER,
6061
KEY_COMPONENTID_LEDDEVICE,
6162
KEY_COMPONENTID_V4L,
63+
KEY_COMPONENTID_AUDIO,
6264
]
6365

6466

@@ -83,6 +85,7 @@ def _component_to_translation_key(component: str) -> str:
8385
KEY_COMPONENTID_GRABBER: "platform_capture",
8486
KEY_COMPONENTID_LEDDEVICE: "led_device",
8587
KEY_COMPONENTID_V4L: "usb_capture",
88+
KEY_COMPONENTID_AUDIO: "audio_capture",
8689
}[component]
8790

8891

requirements_all.txt

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

requirements_test_all.txt

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)