Add support for attribute caching to the camera platform (#106256)
This commit is contained in:
parent
2f72d4f9f0
commit
abd3c54cbe
5 changed files with 48 additions and 40 deletions
|
@ -51,9 +51,6 @@ async def mock_camera(hass) -> AsyncGenerator[None, None]:
|
|||
), patch(
|
||||
"homeassistant.components.camera.Camera.stream_source",
|
||||
return_value=STREAM_SOURCE,
|
||||
), patch(
|
||||
"homeassistant.components.camera.Camera.supported_features",
|
||||
return_value=camera.CameraEntityFeature.STREAM,
|
||||
):
|
||||
yield
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue