core/homeassistant/components/august
J. Nick Koston 17f3332c89
Audit state handling off august bridges and sensors (#31935)
* Audit state handling of august bridges and sensors

This addresses issue #29980

* Prevent setting up august locks that do not have a bridge as they will never work

* Prevent locks showing available when their bridge is offline

* Prevent door sensors from showing available when their bridge is offline

* Prevent creating door sensors for locks that do not have them

* Prevent doorbells showing unavailable when they are in standby mode

* Set SCAN_INTERVAL for binary_sensors to 5 seconds as
  data comes in from the activity endpoint more frequently

* Update homeassistant/components/august/__init__.py

raise if the detail is missing when checking doorsense

Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>

* Handle another place where the lock detail could not exist

* Address review comments

* Handle lock detail update failing and add test

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-02-18 12:11:05 -08:00
..
__init__.py Audit state handling off august bridges and sensors (#31935) 2020-02-18 12:11:05 -08:00
binary_sensor.py Audit state handling off august bridges and sensors (#31935) 2020-02-18 12:11:05 -08:00
camera.py Convert august to async so a token refresh lock can be used (#31848) 2020-02-15 21:08:52 -08:00
lock.py Audit state handling off august bridges and sensors (#31935) 2020-02-18 12:11:05 -08:00
manifest.json Provide user consumable errors when lock operations fail (#31864) 2020-02-17 10:30:14 -08:00