Files
ha-core/tests/fixtures/ring_ding_active.json
Marcelo Moreira de Mello 05398a9dff Introduced Ring binary sensors and refactored Ring component (#6520)
* - Introduced Ring binary_sensor.

- Added unittest for Ring binary_sensor.

- Bumped ring_doorbell 3rd party module.

* Updated requirements

* Added correct file for unittest

* - Introduced Ring binary_sensor.

- Added unittest for Ring binary_sensor.

- Bumped ring_doorbell 3rd party module.

* Updated requirements

* Added correct file for unittest

* Added extra sensors last_ding and last_motion

* Modified Ring binary_sensor and sensor to inherit DOMAIN configuration

* Moved static to top ring.py

* Fixed requirements

* Bump version ring_doorbell to 0.1.2

* testing unittests

* Use hass.data dict instead GLOBALS

* Fixed unittests

* Bump ring_doorbell to 0.1.3

* Updated unittest and coverted to use decorator @requests_mock.Mocker()

* Updated ring_session with lower case
2017-03-31 08:53:56 -07:00

27 lines
776 B
JSON

[{
"audio_jitter_buffer_ms": 0,
"device_kind": "lpd_v1",
"doorbot_description": "Front Door",
"doorbot_id": 12345,
"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
}]