We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e20c2e commit b73a792Copy full SHA for b73a792
homeassistant/components/reolink/host.py
@@ -222,17 +222,13 @@ async def async_init(self) -> None:
222
enable_onvif = None
223
enable_rtmp = None
224
225
- if not self._api.rtsp_enabled and not self._api.baichuan_only:
+ if not self._api.rtsp_enabled and self._api.supported(None, "RTSP"):
226
_LOGGER.debug(
227
"RTSP is disabled on %s, trying to enable it", self._api.nvr_name
228
)
229
enable_rtsp = True
230
231
- if (
232
- not self._api.onvif_enabled
233
- and onvif_supported
234
- and not self._api.baichuan_only
235
- ):
+ if not self._api.onvif_enabled and onvif_supported:
236
237
"ONVIF is disabled on %s, trying to enable it", self._api.nvr_name
238
0 commit comments