hass-core/tests/components/ring/fixtures/ding_active.json
Steven B 333ac56904
Fully mock the ring_doorbell api and remove requests_mock (#113140)
* Fully mock ring_doorbell library

* Add comments and docstrings

* Simplify devices_mocks and fake RingDevices

* Update post review

* Consolidate device filtering in conftest

* Fix ruff lambda assignment failure

* Fix ruff check fail

* Update post review
2024-06-06 20:13:19 +02:00

35 lines
917 B
JSON

[
{
"audio_jitter_buffer_ms": 0,
"device_kind": "lpd_v1",
"doorbot_description": "Front Door",
"doorbot_id": 987652,
"expires_in": 180,
"id": 123456789,
"id_str": "123456789",
"kind": "ding",
"motion": false,
"now": 1490949469.5498993,
"optimization_level": 1,
"protocol": "sip",
"sip_ding_id": "123456789",
"sip_endpoints": null,
"sip_from": "sip:abc123@ring.com",
"sip_server_ip": "192.168.0.1",
"sip_server_port": "15063",
"sip_server_tls": "false",
"sip_session_id": "28qdvjh-2043",
"sip_to": "sip:28qdvjh-2043@192.168.0.1:15063;transport=tcp",
"sip_token": "adecc24a428ed704b2d80adb621b5775755915529639e",
"snapshot_url": "",
"state": "ringing",
"video_jitter_buffer_ms": 0
},
{
"kind": "motion",
"doorbot_id": 987654,
"state": "ringing",
"now": 1490949469.5498993,
"expires_in": 180
}
]