Files
home-assistant-core/homeassistant/components/sensor
Kevin Fronczak c78850a983 Overhaul of Blink platform (#16942)
* Using new methods for blink camera

- Refactored blink platform (breaking change)
- Camera needs to be uniquely enabled in config from now on
- Added motion detection enable/disable to camera platform

* Fix motion detection

- bumped blinkpy to 0.8.1
- Added wifi strength sensor

* Added platform schema to sensor

- Added global variables for brand and attribution to main platform

* Removed blink binary sensor

* Add alarm control panel

* Fixed dependency, added alarm_home

* Update requirements

* Fix lint errors

* Updated throttle times

* Add trigger_camera service (replaced snap_picture)

* Add refresh after camera trigger

* Update blinkpy version

* Wait for valid camera response before returning image

- Motion detection now working!

* Updated for new blinkpy 0.9.0

* Add refresh control and other fixes for new blinkpy release

* Add save video service

* Pushing to force bot to update

* Changed based on first review

- Pass blink as BLINK_DATA instead of DOMAIN
- Remove alarm_arm_home from alarm_control_panel
- Re-add discovery with schema for sensors/binar_sensors
- Change motion_detected to a binary_sensor
- Added camera_armed binary sensor
- Update camera device_state_attributes rather than state_attributes

* Moved blink.py to own folder. Added service hints.

* Updated coveragerc to reflect previous change

* Register services with DOMAIN

- Change device add for loop order in binary_sensor

* Fix lint error

* services.async_register -> services.register
2018-10-03 04:17:14 +02:00
..
2018-09-26 15:39:20 +02:00
2018-08-24 16:37:30 +02:00
2018-10-01 08:55:43 +02:00
2018-10-01 08:55:43 +02:00
2018-10-01 08:55:43 +02:00
2018-10-02 07:32:03 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-10-01 08:55:43 +02:00
2018-08-24 16:37:30 +02:00
2018-10-01 08:55:43 +02:00
2018-10-03 04:17:14 +02:00
2018-10-01 08:55:43 +02:00
2018-10-01 08:55:43 +02:00
2018-08-24 16:37:30 +02:00
2018-10-01 08:55:43 +02:00
2018-08-24 16:37:30 +02:00
2018-10-01 08:55:43 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-31 16:47:10 +02:00
2018-10-01 08:55:43 +02:00
2018-10-01 08:55:43 +02:00
2018-08-24 16:37:30 +02:00
2018-10-02 11:03:09 +02:00
2018-08-24 16:37:30 +02:00
2018-10-01 08:55:43 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-09-16 01:17:47 +02:00
2018-08-24 16:37:30 +02:00
2018-10-01 08:55:43 +02:00
2018-10-01 08:55:43 +02:00
2018-10-01 08:55:43 +02:00
2018-08-24 16:37:30 +02:00
2018-10-01 08:55:43 +02:00
2018-10-01 08:55:43 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-29 21:13:01 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-10-01 08:55:43 +02:00
2018-10-01 08:55:43 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-10-01 08:55:43 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-09-18 12:15:55 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-09-24 08:09:34 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-10-01 08:55:43 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-10-01 14:44:11 +02:00
2018-10-01 08:55:43 +02:00
2018-09-01 23:30:34 +02:00
2018-08-19 22:29:08 +02:00
2018-08-24 16:37:30 +02:00
2018-09-04 09:22:44 +02:00
2018-10-01 08:55:43 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-10-01 08:55:43 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-10-01 08:55:43 +02:00
2018-09-20 11:34:37 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-10-01 08:55:43 +02:00
2018-10-01 08:55:43 +02:00
2018-08-24 16:37:30 +02:00
2018-10-01 08:55:43 +02:00
2018-08-26 12:28:44 +02:00
2018-10-01 08:55:43 +02:00
2018-10-01 08:55:43 +02:00
2018-07-18 10:54:54 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-10-01 08:55:43 +02:00
2018-08-24 16:37:30 +02:00
2018-10-01 08:55:43 +02:00
2018-08-24 16:37:30 +02:00
2018-10-01 08:55:43 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-10-02 11:03:09 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-10-01 08:55:43 +02:00
2018-08-24 16:37:30 +02:00
2018-10-01 08:55:43 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-07-23 10:16:05 +02:00