mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-07 17:26:32 +00:00
find the error
This commit is contained in:
parent
a41912be0a
commit
093ef17fb7
@ -62,8 +62,11 @@ class AlsaAudio(CoreSysAttributes):
|
||||
_LOGGER.warning("Unknown channel type: %s", chan_type)
|
||||
continue
|
||||
|
||||
#self._data[key][alsa_id] = database.get(self._machine, {}).get(
|
||||
# alsa_id, f"{dev_data[ATTR_NAME]}: {chan_id}")
|
||||
try:
|
||||
self._data[key][alsa_id] = database.get(self._machine, {}).get(
|
||||
alsa_id, f"{dev_data[ATTR_NAME]}: {chan_id}")
|
||||
except:
|
||||
_LOGGER.exception("hmm")
|
||||
|
||||
self._cache = current_id
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user