-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Use google-maps-routing in google_travel_time #38018
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
Use google-maps-routing in google_travel_time #38018
Conversation
✅ Deploy Preview for home-assistant-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
📝 WalkthroughWalkthroughThe documentation for the Changes
Assessment against linked issues
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
source/_integrations/google_travel_time.markdown (1)
23-23
: Refine Billing and Frequency Update Details
Consider rephrasing this section for improved clarity and consistency. Replace “can not” with “cannot” and refine the on-demand update suggestion, for example:-Note that at this rate, more than 2 sensors will likely exceed the free credit amount. While this call frequency can not be decreased, you may have a use case which requires the data to be updated more often, to do this you may update on-demand (see automation example below). +Note that at this rate, using more than 2 sensors may exceed the free credit limit. As the update frequency cannot be decreased, if you require more frequent data updates, consider triggering on-demand updates (see the automation example below).This adjustment improves readability and aligns with common language usage.
🧰 Tools
🪛 LanguageTool
[style] ~23-~23: Unless you want to emphasize “not”, use “cannot” which is more common.
Context: ...redit amount. While this call frequency can not be decreased, you may have a use case w...(CAN_NOT_PREMIUM)
[style] ~23-~23: Consider a more expressive alternative.
Context: ...s the data to be updated more often, to do this you may update on-demand (see auto...(DO_ACHIEVE)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
source/_integrations/google_travel_time.markdown
(1 hunks)
🧰 Additional context used
🪛 LanguageTool
source/_integrations/google_travel_time.markdown
[style] ~23-~23: Unless you want to emphasize “not”, use “cannot” which is more common.
Context: ...redit amount. While this call frequency can not be decreased, you may have a use case w...
(CAN_NOT_PREMIUM)
[style] ~23-~23: Consider a more expressive alternative.
Context: ...s the data to be updated more often, to do this you may update on-demand (see auto...
(DO_ACHIEVE)
⏰ Context from checks skipped due to timeout of 90000ms (3)
- GitHub Check: Redirect rules - home-assistant-docs
- GitHub Check: Header rules - home-assistant-docs
- GitHub Check: Pages changed - home-assistant-docs
🔇 Additional comments (3)
source/_integrations/google_travel_time.markdown (3)
17-17
: Update API Reference to Google Maps Routes API
The added reference to the Google Maps Routes API correctly directs users to the new API and is essential for aligning the documentation with current integration requirements.
21-21
: Clarify API Key Registration Process
The updated instructions now clearly point users to the Routes API key registration page. This change is precise and easy to follow.
25-25
: Confirm Quota Configuration Instructions
The explanation regarding setting the daily quota (limit of 322 or less) is accurate and well-aligned with the new Routes API guidelines.
f024278
to
993fe2a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Thank you for the fix, @eifinger 👍
With the new routing API only 5k free requests are included if traffic aware routing is enabled. The current implementation enables this mode if travel mode car is chosen.
1be5c62
to
b52420a
Compare
Changed the info on free requests based on new findings: home-assistant/core#132894 (comment) |
@c0ffeeca7 can you add the |
New issues do get opened and the PR review in core probably won't be finished before the beta |
Proposed change
Update the docs with information on and links to the new Routes API.
Type of change
current
branch).current
branch).next
branch).next
branch).Additional information
Checklist
current
branch.next
branch.Summary by CodeRabbit