core/homeassistant
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
..
auth Add valid_window=1 to TOTP verify (#16625) 2018-09-15 13:28:25 +02:00
components Add Logi Circle component, camera and sensor platform (#16540) 2018-09-21 12:00:15 +02:00
helpers Implement support for complex templates in script delays (#16442) 2018-09-21 11:57:01 +02:00
scripts Upgrade keyring to 15.1.0 (#16734) 2018-09-20 11:11:08 +02:00
util Remove usage of "run_until_complete" (#16617) 2018-09-19 15:40:02 +02:00
__init__.py
__main__.py Remove usage of "run_until_complete" (#16617) 2018-09-19 15:40:02 +02:00
bootstrap.py Remove usage of "run_until_complete" (#16617) 2018-09-19 15:40:02 +02:00
config.py Isort preparations (#16555) 2018-09-11 11:21:48 +02:00
config_entries.py Config flow tradfri (#16665) 2018-09-19 21:21:43 +02:00
const.py Fix invalid state (#16558) 2018-09-11 21:40:35 +02:00
core.py Remove usage of "run_until_complete" (#16617) 2018-09-19 15:40:02 +02:00
data_entry_flow.py Isort preparations (#16555) 2018-09-11 11:21:48 +02:00
exceptions.py Bring back typing check. Meanwhile just for homeassistant/*.py (#14410) 2018-05-12 17:44:53 -04:00
loader.py Isort preparations (#16555) 2018-09-11 11:21:48 +02:00
monkey_patch.py Pylint 2 useless-return fixes (#15677) 2018-07-25 19:35:57 +02:00
package_constraints.txt Upgrade aiohttp to 3.4.4 (#16486) 2018-09-10 10:39:51 +02:00
requirements.py Improve package loadable (#16237) 2018-08-28 12:52:18 +02:00
setup.py Grammar and spelling fixes (#16065) 2018-08-19 22:29:08 +02:00