Commit Graph

60 Commits

Author SHA1 Message Date
ryanbdclark 3610262855 Update CHANGELOG.md 2024-05-13 13:48:02 +01:00
ryanbdclark 904023e93a Update CHANGELOG.md 2024-05-13 13:47:23 +01:00
RyanClark123 ceade24851 Sensors now show unavailable, refactoring
### Feature
* As per HA core patterns, certain sensors will now show as unavailable when sock is charging
###
* Refactoring as per core maintainers suggestions
2024-05-13 13:41:51 +01:00
ryanbdclark ab486d5519 Merge pull request #14 from coreywillwhat/patch-1
fix: O2 Sat 10m Avg reporting `255%`
2024-05-13 09:52:30 +01:00
coreywillwhat 5e17ecdeb2 fix: O2 Sat 10m Avg reporting 255%
Just a suggestion!
The O2 Sat 10m average reports `255%` when not charging, and before it can calculate the 10m average. Suggest changing to report `None` until the average can be displayed. This way the graphs/data aren't skewed by the 255 value.
2024-05-07 11:32:15 -06:00
ryanbdclark 4b90ce0d61 Update CHANGELOG.md 2023.3.1 2024.3.1 2024-03-27 15:53:56 +00:00
RyanClark123 50c55dcfd3 Add binary sensor, correct interval input
### Feature
*Base station on added as binary sensor

### Fix
* Bumping pyowletapi to 2024.3.2
* UI config now allows you to set interval to 5 seconds, previously the minimum was 10
2024-03-27 15:51:12 +00:00
ryanbdclark faefd0b18b Update info.md 2023.11.2 2023-11-23 15:42:11 +00:00
ryanbdclark 1192b833ca Update README.md 2023-11-23 15:41:37 +00:00
ryanbdclark d440fed621 Update CHANGELOG.md 2023-11-23 15:41:03 +00:00
RyanClark123 50fe1a8765 Support for V2 sock added
### Feature
* Support added for V2 sock
* Added tests for binary sensors
### Fix
* Bumping pyowletapi to 2023.11.4 to allow V2 support
* Refactoring
* Corrected spelling of sock disconnected sensor
2023-11-23 15:38:35 +00:00
ryanbdclark 1cfff537d7 Update CHANGELOG.md 2023.11.1 2023-11-16 11:45:00 +00:00
RyanClark123 3acf847352 Correcting error where properties may not exist
### Fix
* Bumping pyowletapi to 2023.11.1
* Sensors and binary sensors are now only created where the sock contains that property, this stops errors where different sock versions have different properties
2023-11-16 11:42:34 +00:00
ryanbdclark c0bf404f6a Update CHANGELOG.md 2023.9.1 2023-09-20 15:05:45 +01:00
RyanClark123 0a7f703100 Fix for new sock revision 5
### Fix
* Bumping pyowletapi to 2023.9.1 to allow for revisions
* New revision of sock, revision 5 doesn't report all vitals as before, this would cause the integration to fail to update. Have adjusted the integration to detect the revision and ignore the vitals that are no longer reported
2023-09-20 15:03:10 +01:00
RyanClark123 cab737cae4 Merge branch 'main' of https://github.com/ryanbdclark/owlet 2023.8.1 2023-08-21 15:11:14 +01:00
RyanClark123 092321cbae Update manifest.json 2023-08-21 15:10:57 +01:00
ryanbdclark 835786b89b Update CHANGELOG.md 2023-08-21 15:10:38 +01:00
RyanClark123 2cd46c18f8 Refactoring
###Fix
* Refactoring done based on home assistant style guidelines and suggestions submitted on the core pull request version of this integration
* Added new sensors to strings json and disabled by default
2023-08-21 15:06:28 +01:00
ryanbdclark 575b213ddd Merge pull request #3 from seanford/main
Update sensor.py
2023-08-21 11:49:48 +01:00
Sean Ford 3afa43c82c Update sensor.py
Added Movement and Movement Bucket values as sensors
2023-08-10 10:09:47 -04:00
ryanbdclark 5c8411fab7 Update CHANGELOG.md 2023.7.2 2023-07-04 15:42:31 +01:00
RyanClark123 c45959b123 Bumping pyowlet
###Fix
* Bumping pyowlet version to 2023.7.2
2023-07-04 15:38:44 +01:00
ryanbdclark 4e30d4652f Update cron.yml 2023-07-04 13:52:42 +01:00
ryanbdclark 02f8679ed1 Update manifest.json 2023-07-03 14:52:04 +01:00
ryanbdclark 534ad8a351 Update CHANGELOG.md 2023-07-03 14:51:14 +01:00
ryanbdclark c693fefbf3 Update manifest.json 2023.7.1 2023-07-03 14:38:17 +01:00
ryanbdclark 523ba949dd Bumping pyowlet api
Bumping pyowletapi version to 2023.07.01
2023-07-03 14:37:49 +01:00
RyanClark123 3c35d87fd2 Minor changes to description
Minor changes to description of entities made
2023-06-15 11:11:06 +01:00
ryanbdclark 6c2c531a19 Update manifest.json 2023-05-30 14:30:23 +01:00
ryanbdclark f4e38ec521 Update manifest.json 2023-05-30 14:27:07 +01:00
ryanbdclark ecb950da8a Create cron.yml 2023-05-30 14:23:23 +01:00
RyanClark123 a7d4276671 Merge branch 'main' of https://github.com/ryanbdclark/owlet 2023-05-30 13:57:30 +01:00
RyanClark123 ef0a3c3ddb Merge branch 'main' of https://github.com/ryanbdclark/owlet 2023-05-30 13:57:14 +01:00
ryanbdclark 7844b5bd87 Update CHANGELOG.md 2023.5.7 2023-05-30 13:49:15 +01:00
RyanClark123 3d31de0205 Merge branch 'main' of https://github.com/ryanbdclark/owlet 2023-05-30 13:47:20 +01:00
RyanClark123 8d173174e2 Fixed binary sensors
### Fix
* Fixed issue with binary sensors not loading, caused by change to way the coordinators are stored
2023-05-30 13:46:48 +01:00
ryanbdclark 1977df6be0 Update CHANGELOG.md 2023.5.6 2023-05-30 13:33:25 +01:00
ryanbdclark ea4c543ec5 Update CHANGELOG.md 2023-05-30 13:32:50 +01:00
RyanClark123 26f81c14bf 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
2023-05-30 13:30:59 +01:00
RyanClark123 c6f37493ca Corrected spelling fixed typing reordered imports
###Fix
# In preparation for pull request to homeassistant core, just corrected some spelling, sorted imports using isort and corrected some type hinting
2023-05-26 16:29:40 +01:00
RyanClark123 5328933de3 Update CHANGELOG.md 2023-05-19 15:16:38 +01:00
RyanClark123 0141f7d01a Refresh token should now work properly
#### Fix
* Owlet refresh token becomes invalid after 24 hours. Meant that after 1 day the integration would stop working. Moved to pyowletapi v2023.5.28 which uses different refresh token, should no longer need reconfiguring after 24 hours
2023.5.5
2023-05-19 15:14:19 +01:00
RyanClark123 dc58b19a46 Fix non conversion of dict_values to list
###Fix
* dict_values for sleep state now correctly converted to list
2023-05-17 19:32:27 +01:00
RyanClark123 bd6a315b00 Bumping to pyowletapi 2023.5.25
#### Fix
* Bumping to pyowletapi 2023.5.25
2023.5.4
2023-05-17 19:23:37 +01:00
RyanClark123 0cf3afef85 Bumping pyowlet, reauth config entry fix
#### Fix
* Bumping to pyowletapi 2023.5.24
* Reauthing now no longer re adds users' password to config entry
2023.5.3
2023-05-17 18:59:38 +01:00
ryanbdclark fa06157fe2 Update const.py
###Fix
* Error in sleep states constant corrected
2023-05-16 21:14:46 +01:00
RyanClark123 2b21188e73 Update CHANGELOG 2023.5.2 2023-05-16 15:21:41 +01:00
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