Skip to content

Commit

Permalink
fix: clean unnecessary state_attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
fuatakgun committed Jan 14, 2022
1 parent 3d392c8 commit 8e1f50c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/eufy_security/camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ def set_is_streaming(self):
_LOGGER.debug(
f"{DOMAIN} {self.name} - set_is_streaming - end - {self.device.is_rtsp_streaming} - {self.device.is_p2p_streaming} - {self.device.is_streaming}"
)


async def initiate_turn_on(self):
await self.coordinator.hass.async_add_executor_job(self.turn_on)
Expand Down Expand Up @@ -381,7 +382,6 @@ async def async_camera_image(self, width=None, height=None) -> bytes:
f"{DOMAIN} {self.name} - camera_image -{current_picture_url} - {len(self.picture_bytes)}"
)
return self.picture_bytes


def turn_on(self) -> None:
asyncio.run_coroutine_threadsafe(
Expand Down

0 comments on commit 8e1f50c

Please sign in to comment.