Commit graph

9 commits

Author SHA1 Message Date
Erik Montnemery
78b21b1ad1
Update tests a-b to use async_get() instead of async_get_registry() () 2021-03-09 14:24:34 +01:00
J. Nick Koston
94825b3e15
Do not restore unavailable state for august locks () 2021-01-01 12:44:53 +01:00
Ville Skyttä
5e90a4d000
Use more state attribute name constants () 2020-09-21 23:03:39 +02:00
springstan
d2b1918e9c
Drop UNIT_ prefix for percentage constant () 2020-09-05 21:09:14 +02:00
springstan
9f713dac7f
Use UNIT_PERCENTAGE constant () 2020-04-11 22:53:48 +02:00
J. Nick Koston
7dd42bc32d
Separate august keypads into their own device ()
The keypad has its own unique id so its better
represented as its own device.  This fixes
showing the keypad battery state for the lock
in the UI.
2020-04-08 12:57:27 -07:00
J. Nick Koston
ae147fd9c7
Lock operation sensors for August ()
* adkj

* reduce

* Convert august to async

Async io was added to py-august 0.24

* Fix lint

* Lock operation sensors for august

* Tracking lock operation method allows user presence detection at the lock

* revert lock changes

* fix activity count merge conflict reversion

* Fix revert that come back with the conflict
2020-03-10 17:09:49 -07:00
J. Nick Koston
7ca4665711
Move keypad battery implementation details into py-august ()
* Move keypad battery implementation details into py-august

* Upgrade to py-august 0.22.0 which also adds gen2 doorbell battery data

* remove cruft from previous refactor
2020-03-01 23:22:28 -08:00
J. Nick Koston
2925e0617c
Add Config flow to august ()
* Add battery sensors for August devices

* Additional tests and cleanup in prep for config flow
  and device registry

* pylint

* update name for new style guidelines - https://developers.home-assistant.io/docs/development_guidelines/#use-new-style-string-formatting

* Config Flow for august push

* Update homeassistant/components/august/__init__.py

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

* Address review items

* Update tests

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-02-25 10:18:15 -08:00