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 f1cf58f commit e430c8bCopy full SHA for e430c8b
custom_components/dahua/camera.py
@@ -226,10 +226,9 @@ def unique_id(self):
226
"""Return the entity unique ID."""
227
return self._unique_id
228
229
- async def async_camera_image(self):
+ async def async_camera_image(self, width: int, height: int):
230
"""Return a still image response from the camera."""
231
# Send the request to snap a picture and return raw jpg data
232
- channel = self._coordinator.get_channel()
233
return await self._coordinator.client.async_get_snapshot(self._channel_number)
234
235
@property
0 commit comments