Use custom app to play camera stream using Google Assistant (#40750)
This commit is contained in:
1 parent
f5429dc175
commit
c6f3352cf8
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",
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user