Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Notion Home Monitoring #24634

Merged
merged 31 commits into from Jul 9, 2019
Merged
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
9b17584
Add support for Notion Home Monitoring
bachya Jun 19, 2019
42c804f
Updated coverage
bachya Jun 19, 2019
281f406
Removed auto-generated translations
bachya Jun 19, 2019
4ba9b2d
Stale docstrings
bachya Jun 19, 2019
4b366fc
Corrected hardware version
bachya Jun 20, 2019
6ab4044
Fixed binary sensor representation
bachya Jun 20, 2019
71aeb5d
Cleanup and update protection
bachya Jun 21, 2019
e941cd9
Updated log message
bachya Jun 21, 2019
808b10b
Cleaned up is_on
bachya Jun 23, 2019
dfcc9fa
Updated docstring
bachya Jun 23, 2019
21a4ec3
Modified which data is updated during async_update
bachya Jun 28, 2019
8068b8c
Added more checks during update
bachya Jun 28, 2019
68925ee
More cleanup
bachya Jun 28, 2019
f94aadf
Fixed unhandled exception
bachya Jun 28, 2019
90d89af
Owner-requested changes (round 1)
bachya Jul 2, 2019
10b123b
Fixed incorrect scan interval retrieval
bachya Jul 3, 2019
4160a10
Ugh
bachya Jul 3, 2019
70acb5a
Removed unnecessary import
bachya Jul 3, 2019
943cca2
Simplified everything via dict lookups
bachya Jul 3, 2019
e41c4ee
Ensure bridges are properly registered
bachya Jul 3, 2019
128581f
Fixed tests
bachya Jul 3, 2019
546d53a
Added catch for invalid credentials
bachya Jul 3, 2019
e739974
Ensure bridge ID is updated as necessary
bachya Jul 3, 2019
f24734f
Updated method name
bachya Jul 3, 2019
e8fede1
Simplified bridge update
bachya Jul 3, 2019
3cc14c2
Add support for updating bridge via_device_id
bachya Jul 5, 2019
06e337d
Device update guard clause
bachya Jul 5, 2019
0deb16e
Removed excess whitespace
bachya Jul 5, 2019
4a1d939
Whitespace
bachya Jul 5, 2019
ac502ed
Owner comments
bachya Jul 8, 2019
2e76d7e
Member comments
bachya Jul 9, 2019
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Fixed tests

  • Loading branch information...
bachya committed Jul 3, 2019
commit 128581fb0528898901e148283eb14e986231eb13
@@ -4,8 +4,7 @@

from homeassistant import data_entry_flow
from homeassistant.components.notion import DOMAIN, config_flow
from homeassistant.const import (
CONF_PASSWORD, CONF_SCAN_INTERVAL, CONF_USERNAME)
from homeassistant.const import CONF_PASSWORD, CONF_USERNAME

from tests.common import MockConfigEntry, MockDependency, mock_coro

@@ -83,7 +82,6 @@ def mock_aionotion(mock_client_coro):
assert result['data'] == {
CONF_USERNAME: 'user@host.com',
CONF_PASSWORD: 'password123',
CONF_SCAN_INTERVAL: 60,
}


@@ -103,5 +101,4 @@ def mock_aionotion(mock_client_coro):
assert result['data'] == {
CONF_USERNAME: 'user@host.com',
CONF_PASSWORD: 'password123',
CONF_SCAN_INTERVAL: 60,
}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.