Fix turning amcrest camera on and off (#68050)

pull/68159/head
Sean Vig 2022-03-12 13:42:28 -05:00 committed by Paulus Schoutsen
parent a285478cf8
commit a42ba9e10a
1 changed files with 1 additions and 1 deletions

View File

@ -548,7 +548,7 @@ class AmcrestCam(Camera):
# recording on if video stream is being turned off.
if self.is_recording and not enable:
await self._async_enable_recording(False)
await self._async_change_setting(enable, "video", "is_streaming")
await self._async_change_setting(enable, "video", "_attr_is_streaming")
if self._control_light:
await self._async_change_light()