Use custom app to play camera stream using Google Assistant (#40750)

This commit is contained in:
Bram Kragten authored and Paulus Schoutsen committed 2020-09-30 08:36:26 +00:00
1 parent ebacc15e72
commit c802a63700
4 files changed
+11 -2

No files matched your search

@@ -976,6 +976,7 @@ async def test_trait_execute_adding_query_data(hass):
"states": {
"online": True,
"cameraStreamAccessUrl": "https://example.com/api/streams/bla",
"cameraStreamReceiverAppId": "B12CE3CA",
},
}
]
@@ -135,7 +135,8 @@ async def test_camera_stream(hass):
await trt.execute(trait.COMMAND_GET_CAMERA_STREAM, BASIC_DATA, {}, {})
assert trt.query_attributes() == {
"cameraStreamAccessUrl": "https://example.com/api/streams/bla"
"cameraStreamAccessUrl": "https://example.com/api/streams/bla",
"cameraStreamReceiverAppId": "B12CE3CA",
}