Commit Graph

12 Commits

Author SHA1 Message Date
RyanClark123 9b3392bdbc Added new sensors
###Feature
* Added new sensors, binary sensor awake, is on if baby awake, off otherwise. Sensor sleep state, shows baby sleep state, options are awake, light sleep, deep sleep
2023-05-16 15:06:01 +01:00
RyanClark123 dc710a1783 Integration now uses refresh token
-Makes use of pyowletapi 2023.5.23 to use the refresh token to reauthenticate, integration now no longer stores users password
-Default polling interval changed to 5 seconds to match owlet app
2023-05-16 14:05:26 +01:00
RyanClark123 8d9299a8f4 Updated changelog for new release
Updated changelog for new release
2023.5.1
2023-05-15 15:56:37 +01:00
RyanClark123 228d54b641 bumping pyowletapi version
### Fix
* Bump pyowletapi to 2023.5.21, fix for unawaited authentication call believe to be causing an issue reauthenticating when token had expired
* Github username change reflected, won't change again
2023-05-15 11:21:50 +01:00
RyanClark123 3e147aa914 Added reauth flow, much better error handling on setup
### Feature
* Now supports reauthentication if credentials have expired/no longer work
* Better error handling when configuring integration, will notify user of incorrect credentials

### Fix
* Removed Owlet specific constants, now using homeassistant generic constants
* On initialisation the integration would crash when trying to update the auth token, the integration would then have to be deleted and setup again
2023-05-12 17:02:04 +01:00
RyanClark123 bb0e8cc9c9 Corrected spelling of celcius 2023-05-11 17:20:31 +01:00
RyanClark123 84aa88ae01 More properties added
More sock properties added as sensors
2023-05-11 17:05:57 +01:00
RyanClark123 a5a8336006 Amended config flow, hardcoded support for v3
-Amended config flow, took out second step to select socks
-Added configuration to allow users to change polling interval
-Hardcoded support for only v3 sock, I do not own any other socks to test with
2023-05-09 16:37:25 +01:00
RyanClark123 daff165593 Updated config flow
-Config flow now allows user to select socks to configure
-Added strings to config
-Amended sensor state classes
-General Tidying up
2023-05-05 16:23:52 +01:00
RyanClark123 1ede92c48f Create hacs.json 2023-05-04 16:36:54 +01:00
RyanClark123 fe34bd63af Initial commit
Initial commit
2023-05-04 16:33:06 +01:00
RyanClark123 f5ed126eaa Initial commit 2023-05-04 16:32:12 +01:00