core/homeassistant/components/camera
Evan Bruhn aeaf694552 Add Logi Circle component, camera and sensor platform (#16540)
* Added Logi Circle platform, camera and sensor

* Integrated with Logo Circle API’s feature detection to exclude sensors not supported by device. Added services for recording livestream and taking a snapshot from the livestream.

* Migrated livestream snapshot and recording functionality out of home assistant components and into the logi circle API wrapper. Added services.yaml entries for logi services.

* Added new Logi sensor types, updated to latest version of `logi_circle` and tidy up in preparation for pull request.

- Renamed `logi_set_mode` to `logi_set_config`.
- Live stream recording and snapshot methods now respect whitelisted path configuration.
- Added `streaming_mode` and `speaker_volume` sensors.
- Moved model-specific turn on/off logic to `logi_circle` library.

* Renamed `logi` component domain to `logi_circle`.

* Updates based on PR feedback

* Added timeout of 15s to logi_circle initial setup requests (login and grabbing cameras).
* Added unique ID (uses MAC address for camera platform, MAC address + sensor type for sensor platform).
* Added battery level and battery charging attributes to camera.
* Removed static attributes from device_state_attributes.
* Replaced STATE_UNKNOWN with None, replaced ‘on’ & ‘off’ with STATE_ON and STATE_OFF.
* Removed redundant SCAN_INTERVAL in sensor, removed redundant hass param from async_setup_platform in camera and sensor.
* Style tweaks.

* Replaced `asyncio.wait_for` with `async_timeout` to be consistent with other components.
2018-09-21 12:00:15 +02:00
..
__init__.py Fix camera proxy to not require api_password to function (#16450) 2018-09-06 10:51:16 +02:00
abode.py add_devices -> add_entities (#16171) 2018-08-24 16:37:30 +02:00
amcrest.py add_devices -> add_entities (#16171) 2018-08-24 16:37:30 +02:00
arlo.py add_devices -> add_entities (#16171) 2018-08-24 16:37:30 +02:00
august.py add_devices -> add_entities (#16171) 2018-08-24 16:37:30 +02:00
axis.py Clean up MjpegCamera by removing unnused hass object in __init__ (#16628) 2018-09-15 11:26:29 +02:00
blink.py add_devices -> add_entities (#16171) 2018-08-24 16:37:30 +02:00
bloomsky.py add_devices -> add_entities (#16171) 2018-08-24 16:37:30 +02:00
canary.py add_devices -> add_entities (#16171) 2018-08-24 16:37:30 +02:00
demo.py add_devices -> add_entities (#16171) 2018-08-24 16:37:30 +02:00
demo_0.jpg Optimised images. Saved 80 KB out of 656 KB. 12.3% overall (up to 32.1% per file) (#10735) 2017-11-21 21:19:13 -08:00
demo_1.jpg Optimised images. Saved 80 KB out of 656 KB. 12.3% overall (up to 32.1% per file) (#10735) 2017-11-21 21:19:13 -08:00
demo_2.jpg Optimised images. Saved 80 KB out of 656 KB. 12.3% overall (up to 32.1% per file) (#10735) 2017-11-21 21:19:13 -08:00
demo_3.jpg Optimised images. Saved 80 KB out of 656 KB. 12.3% overall (up to 32.1% per file) (#10735) 2017-11-21 21:19:13 -08:00
doorbird.py add_devices -> add_entities (#16171) 2018-08-24 16:37:30 +02:00
familyhub.py add_devices -> add_entities (#16171) 2018-08-24 16:37:30 +02:00
ffmpeg.py add_devices -> add_entities (#16171) 2018-08-24 16:37:30 +02:00
foscam.py add_devices -> add_entities (#16171) 2018-08-24 16:37:30 +02:00
generic.py add_devices -> add_entities (#16171) 2018-08-24 16:37:30 +02:00
local_file.py add_devices -> add_entities (#16171) 2018-08-24 16:37:30 +02:00
logi_circle.py Add Logi Circle component, camera and sensor platform (#16540) 2018-09-21 12:00:15 +02:00
mjpeg.py Clean up MjpegCamera by removing unnused hass object in __init__ (#16628) 2018-09-15 11:26:29 +02:00
mqtt.py add_devices -> add_entities (#16171) 2018-08-24 16:37:30 +02:00
neato.py add_devices -> add_entities (#16171) 2018-08-24 16:37:30 +02:00
nest.py Revert changes to platforms using self.device (#16209) 2018-08-26 21:25:39 +02:00
netatmo.py add_devices -> add_entities (#16171) 2018-08-24 16:37:30 +02:00
onvif.py add_devices -> add_entities (#16171) 2018-08-24 16:37:30 +02:00
proxy.py Fix camera proxy to not require api_password to function (#16450) 2018-09-06 10:51:16 +02:00
push.py Replace api_password in Camera.Push (#16339) 2018-09-11 11:30:20 +02:00
ring.py add_devices -> add_entities (#16171) 2018-08-24 16:37:30 +02:00
rpi_camera.py add_devices -> add_entities (#16171) 2018-08-24 16:37:30 +02:00
services.yaml Add Logi Circle component, camera and sensor platform (#16540) 2018-09-21 12:00:15 +02:00
skybell.py add_devices -> add_entities (#16171) 2018-08-24 16:37:30 +02:00
synology.py add_devices -> add_entities (#16171) 2018-08-24 16:37:30 +02:00
usps.py add_devices -> add_entities (#16171) 2018-08-24 16:37:30 +02:00
uvc.py add_devices -> add_entities (#16171) 2018-08-24 16:37:30 +02:00
verisure.py add_devices -> add_entities (#16171) 2018-08-24 16:37:30 +02:00
xeoma.py add_devices -> add_entities (#16171) 2018-08-24 16:37:30 +02:00
xiaomi.py add_devices -> add_entities (#16171) 2018-08-24 16:37:30 +02:00
yi.py add_devices -> add_entities (#16171) 2018-08-24 16:37:30 +02:00
zoneminder.py Clean up MjpegCamera by removing unnused hass object in __init__ (#16628) 2018-09-15 11:26:29 +02:00