mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-24 09:36:31 +00:00
Give audio plugin machine data for mixer evaluation (#3056)
This commit is contained in:
parent
ddc30cfd7d
commit
034606cd0f
@ -4,7 +4,12 @@ from typing import Dict, List, Optional
|
||||
|
||||
import docker
|
||||
|
||||
from ..const import DOCKER_CPU_RUNTIME_ALLOCATION, ENV_TIME, MACHINE_ID
|
||||
from ..const import (
|
||||
DOCKER_CPU_RUNTIME_ALLOCATION,
|
||||
ENV_SUPERVISOR_MACHINE,
|
||||
ENV_TIME,
|
||||
MACHINE_ID,
|
||||
)
|
||||
from ..coresys import CoreSysAttributes
|
||||
from ..hardware.const import PolicyGroup
|
||||
from .const import Capabilities
|
||||
@ -94,7 +99,10 @@ class DockerAudio(DockerInterface, CoreSysAttributes):
|
||||
ulimits=self.ulimits,
|
||||
cpu_rt_runtime=self.cpu_rt_runtime,
|
||||
device_cgroup_rules=self.cgroups_rules,
|
||||
environment={ENV_TIME: self.sys_timezone},
|
||||
environment={
|
||||
ENV_TIME: self.sys_timezone,
|
||||
ENV_SUPERVISOR_MACHINE: self.sys_machine,
|
||||
},
|
||||
volumes=self.volumes,
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user