2019-04-04 04:14:45 +00:00
|
|
|
{
|
|
|
|
"domain": "nad",
|
2020-01-07 12:28:35 +00:00
|
|
|
"name": "NAD",
|
2019-10-02 16:25:44 +00:00
|
|
|
"documentation": "https://www.home-assistant.io/integrations/nad",
|
Bump nad_receiver version (#34400)
nad_receiver received a few fixes in 0.0.12, which enables the integration
for me. I assume it may depend on the receiver model, but my receiver only reports
mute state and volume when it's on, while the library used to assume to always
get a reply. With 0.0.11 the nad integration simply excepts on startup,
after bumping the version up it works.
Fixes this:
2020-04-18 22:59:38 ERROR (MainThread) [homeassistant.components.media_player] nad: Error on device update!
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 324, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 476, in async_device_update
await self.hass.async_add_executor_job(self.update)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/nad/media_player.py", line 195, in update
if self._nad_receiver.main_mute("?") == "Off":
File "/usr/local/lib/python3.7/site-packages/nad_receiver/__init__.py", line 71, in main_mute
return self.exec_command('main', 'mute', operator, value)
File "/usr/local/lib/python3.7/site-packages/nad_receiver/__init__.py", line 62, in exec_command
return msg.decode().strip().split('=')[1]
IndexError: list index out of range
2020-04-19 10:27:16 +00:00
|
|
|
"requirements": ["nad_receiver==0.0.12"],
|
2021-04-15 08:21:38 +00:00
|
|
|
"codeowners": [],
|
|
|
|
"iot_class": "local_polling"
|
2019-04-04 04:14:45 +00:00
|
|
|
}
|