Refactoring, added tests
###Fix # In light of submitting this as a pull request to the core of HA there have been some refactoring changes to comply with HA's style requirements #Sensor names now moved to strings file to allow for translations #Coordinator now properly handles multiple devices #Spelling of signal strength sensor corrected ###Feature #Tests added
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
"""Constants used for Owlet tests."""
|
||||
|
||||
AUTH_RETURN = {
|
||||
"api_token": "api_token",
|
||||
"expiry": 100,
|
||||
"refresh": "refresh_token",
|
||||
}
|
||||
|
||||
|
||||
CONF_INPUT = {
|
||||
"region": "europe",
|
||||
"username": "sample@gmail.com",
|
||||
"password": "sample",
|
||||
}
|
||||
Reference in New Issue
Block a user