Add support for Notion Home Monitoring (#24634)

* Add support for Notion Home Monitoring

* Updated coverage

* Removed auto-generated translations

* Stale docstrings

* Corrected hardware version

* Fixed binary sensor representation

* Cleanup and update protection

* Updated log message

* Cleaned up is_on

* Updated docstring

* Modified which data is updated during async_update

* Added more checks during update

* More cleanup

* Fixed unhandled exception

* Owner-requested changes (round 1)

* Fixed incorrect scan interval retrieval

* Ugh

* Removed unnecessary import

* Simplified everything via dict lookups

* Ensure bridges are properly registered

* Fixed tests

* Added catch for invalid credentials

* Ensure bridge ID is updated as necessary

* Updated method name

* Simplified bridge update

* Add support for updating bridge via_device_id

* Device update guard clause

* Removed excess whitespace

* Whitespace

* Owner comments

* Member comments
This commit is contained in:
Aaron Bach 2019-07-09 02:29:06 -06:00 committed by Martin Hjelmare
parent 7a5fca69af
commit c2e843cbc3
16 changed files with 700 additions and 0 deletions

View file

@ -49,6 +49,7 @@ TEST_REQUIREMENTS = (
'aioesphomeapi',
'aiohttp_cors',
'aiohue',
'aionotion',
'aiounifi',
'aioswitcher',
'apns2',