Bump reolink-aio to 0.2.3 (#85871)
This commit is contained in:
parent
314576048d
commit
476de319ea
6 changed files with 8 additions and 5 deletions
|
@ -31,6 +31,9 @@ async def async_setup_entry(
|
|||
streams.append("ext")
|
||||
|
||||
for stream in streams:
|
||||
stream_url = await host.api.get_stream_source(channel, stream)
|
||||
if stream_url is None and stream != "snapshots":
|
||||
continue
|
||||
cameras.append(ReolinkCamera(reolink_data, config_entry, channel, stream))
|
||||
|
||||
async_add_entities(cameras, update_before_add=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue