Bump reolink-aio to 0.2.3 (#85871)

This commit is contained in:
starkillerOG 2023-01-15 13:07:15 +01:00 committed by GitHub
parent 314576048d
commit 476de319ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 8 additions and 5 deletions

View file

@ -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)