From 19879e32878f4af491b53a74b9ca739f7cb0ae27 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Fri, 13 Apr 2018 22:42:27 +0200 Subject: [PATCH] test --- hassio/host/alsa.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/hassio/host/alsa.py b/hassio/host/alsa.py index 1e2bd0edd..3a85cb61e 100644 --- a/hassio/host/alsa.py +++ b/hassio/host/alsa.py @@ -29,13 +29,13 @@ class AlsaAudio(CoreSysAttributes): @property def input_devices(self): """Return list of ALSA input devices.""" - #self._update_device() + self._update_device() return self._data[ATTR_INPUT] @property def output_devices(self): """Return list of ALSA output devices.""" - #self._update_device() + self._update_device() return self._data[ATTR_OUTPUT] def _update_device(self): @@ -67,8 +67,7 @@ class AlsaAudio(CoreSysAttributes): self._cache = current_id - @staticmethod - def _audio_database(): + def _audio_database(self): """Read local json audio data into dict.""" json_file = Path(__file__).parent.joinpath('audiodb.json')