-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
Update the authentication method to use cookie-based authentication instead of deprecated authentication #279
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Added sensor state class of "measurement" to the Nest Protect temperature sensor definition, so that HA recognizes and collects min/mean/max statistical information for these sensors.
Co-authored-by: jnxxx <>
…battery voltage conversions (#283) Co-authored-by: Ryan McGinty <[email protected]>
2ed7be0
to
54c98d3
Compare
* replace depecated Celsius unit * use event_loop since loop is deprecated * empty newline at end of file
* Fix battery level sensor Nest Temperature Sensors This was regressed as part of 54c98d3 SUPPORTED_KEYS is a dictionary using sensor description key as the "key". Prior to this fix, SUPPORTED_KEYS was always picking up the Nest Protect sensor description and completely ignoring the temperature sensor one. * Fix code style * Fix code style
Co-authored-by: Wil T <[email protected]>
* update pytest-homeassistant-custom-component to match homeassistant * update pytest-socket * update pytest-timeout * update pytest * unpin pytest-homeassistant-custom-component
* Fixing PynestException: 200 error while subscribing - #345 First step to fix PynestException: 200 error while subscribing * Fixing PynestException: 200 error while subscribing - #345 Second step to fix PynestException: 200 error while subscribing * Fixing PynestException: 200 error while subscribing - #345 Third and final step to fix PynestException: 200 error while subscribing * Fix linting --------- Co-authored-by: Mick Vleeshouwer <[email protected]>
My fresh installation of Chrome defaulted to "Block all third-party Cookies in Incognito" Co-authored-by: Mick Vleeshouwer <[email protected]>
* Add Last Audio Self Test and Last Manual Self Test Adding two more datetime sensors for test times. * Add Removed from Base sensor I have chosen tray-remove as icon, as it looks similar to the protect being removed.
* Trying to fix Errors in _async_subscribe_for_data #347 This would fix the issue with objects and then wraps it with Bucket as expected by the pynest client, but if it is still generating high traffic on Google servers, then there is a flaw somewhere in the main logic of subscription process, and it re-subscribes again and again with the pynest client, which I cannot really test, as I have only battery powered nest protects, so there isn't live motion detection. * Trying to fix Errors in _async_subscribe_for_data #347 Also needed to fix the aforementioned issue as wrapping with Bucket fails on the WhereBucketValue otherwise. * Fix for lint * Another fix for lint
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several updates and improvements across multiple files, primarily focusing on upgrading dependencies, updating configurations, and enhancing the Nest Protect integration. The most important changes include upgrading the Python version, adding new features to the devcontainer, and updating the authentication method for the Nest Protect integration.
Dependency and Configuration Updates:
.devcontainer/devcontainer.json
,.github/workflows/pre-commit.yml
, and.github/workflows/pytest.yml
[1] [2] [3]..pre-commit-config.yaml
, includingpyupgrade
,black
,codespell
,flake8
,isort
, andyamllint
[1] [2].Devcontainer Enhancements:
ffmpeg-apt-get
feature and additional packages to thepostCreateCommand
in.devcontainer/devcontainer.json
.Nest Protect Integration Improvements:
custom_components/nest_protect/__init__.py
[1] [2].custom_components/nest_protect/__init__.py
[1] [2] [3].Documentation Updates:
issue_token
andcookies
for authentication [1] [2] [3].These changes ensure that the project stays up-to-date with the latest dependencies and improves the overall functionality and reliability of the Nest Protect integration.