Skip to content

Commit

Permalink
Add Support for Mono/Centre channel (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
wrodie authored Dec 8, 2024
1 parent 433cf85 commit 05bbffd
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ludeeus/integration_blueprint",
"image": "mcr.microsoft.com/vscode/devcontainers/python:0-3.11-bullseye",
"image": "mcr.microsoft.com/vscode/devcontainers/python:3.12-bullseye",
"postCreateCommand": "scripts/setup",
"forwardPorts": [
8123
Expand Down
2 changes: 2 additions & 0 deletions custom_components/ha_behringer_mixer/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ def build_entity_catalog(self, mixer_info):
}
if self.config_entry.data.get("MAIN_CONFIG"):
self.fader_group(entities, "main", 0, "main/st")
if mixer_info.get("has_mono", False):
self.fader_group(entities, "mono", 0, "main/m")
# Input channels
for entity_type in types:
# num_type = mixer_info.get(entity_type, {}).get("number")
Expand Down
28 changes: 15 additions & 13 deletions custom_components/ha_behringer_mixer/manifest.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
{
"domain": "ha_behringer_mixer",
"name": "Behringer Mixer",
"codeowners": ["@wrodie"],
"config_flow": true,
"documentation": "https://github.com/wrodie/ha_behringer_mixer",
"integration_type": "device",
"iot_class": "local_push",
"issue_tracker": "https://github.com/wrodie/ha_behringer_mixer/issues",
"requirements": [
"behringer-mixer==0.4.5"
],
"version": "0.1.10"
}
"domain": "ha_behringer_mixer",
"name": "Behringer Mixer",
"codeowners": [
"@wrodie"
],
"config_flow": true,
"documentation": "https://github.com/wrodie/ha_behringer_mixer",
"integration_type": "device",
"iot_class": "local_push",
"issue_tracker": "https://github.com/wrodie/ha_behringer_mixer/issues",
"requirements": [
"behringer-mixer==0.4.6"
],
"version": "0.1.11"
}

0 comments on commit 05bbffd

Please sign in to comment.