mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 09:47:13 +00:00
Arcam fmj bump library to 0.4.4 (#34687)
* Bump arcam-fmj with better connection failed support * Log unexpected exceptions in arcam client * Consider undetected as 2ch to match OSD * Ask for explicit update on start
This commit is contained in:
parent
8237ccfa03
commit
b768c9cc64
@ -162,3 +162,8 @@ async def _run_client(hass, client, interval):
|
||||
await asyncio.sleep(interval)
|
||||
except asyncio.TimeoutError:
|
||||
continue
|
||||
except asyncio.CancelledError:
|
||||
return
|
||||
except Exception: # pylint: disable=broad-except
|
||||
_LOGGER.exception("Unexpected exception, aborting arcam client")
|
||||
return
|
||||
|
@ -3,6 +3,6 @@
|
||||
"name": "Arcam FMJ Receivers",
|
||||
"config_flow": false,
|
||||
"documentation": "https://www.home-assistant.io/integrations/arcam_fmj",
|
||||
"requirements": ["arcam-fmj==0.4.3"],
|
||||
"requirements": ["arcam-fmj==0.4.4"],
|
||||
"codeowners": ["@elupus"]
|
||||
}
|
||||
|
@ -57,7 +57,8 @@ async def async_setup_entry(
|
||||
zone_config.get(SERVICE_TURN_ON),
|
||||
)
|
||||
for zone, zone_config in config[CONF_ZONE].items()
|
||||
]
|
||||
],
|
||||
True,
|
||||
)
|
||||
|
||||
return True
|
||||
@ -86,7 +87,12 @@ class ArcamFmj(MediaPlayerEntity):
|
||||
audio_format, _ = self._state.get_incoming_audio_format()
|
||||
return bool(
|
||||
audio_format
|
||||
in (IncomingAudioFormat.PCM, IncomingAudioFormat.ANALOGUE_DIRECT, None)
|
||||
in (
|
||||
IncomingAudioFormat.PCM,
|
||||
IncomingAudioFormat.ANALOGUE_DIRECT,
|
||||
IncomingAudioFormat.UNDETECTED,
|
||||
None,
|
||||
)
|
||||
)
|
||||
|
||||
@property
|
||||
|
@ -260,7 +260,7 @@ aprslib==0.6.46
|
||||
aqualogic==1.0
|
||||
|
||||
# homeassistant.components.arcam_fmj
|
||||
arcam-fmj==0.4.3
|
||||
arcam-fmj==0.4.4
|
||||
|
||||
# homeassistant.components.arris_tg2492lg
|
||||
arris-tg2492lg==1.0.0
|
||||
|
@ -119,7 +119,7 @@ apprise==0.8.5
|
||||
aprslib==0.6.46
|
||||
|
||||
# homeassistant.components.arcam_fmj
|
||||
arcam-fmj==0.4.3
|
||||
arcam-fmj==0.4.4
|
||||
|
||||
# homeassistant.components.dlna_dmr
|
||||
# homeassistant.components.upnp
|
||||
|
Loading…
x
Reference in New Issue
Block a user