-
-
Notifications
You must be signed in to change notification settings - Fork 38.3k
Add get_url helper, deprecate base_url #35224
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
Merged
Merged
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
067b188
Add get_url helper, deprecate base_url
frenck d774049
Fix tests
frenck 5ba6600
Return value is not Optional actually
frenck 5fda03e
Add normalize_url util
frenck 9820729
Fix broad exception checking in tests
frenck 1a9f89d
Migrate cast to get_url helper
frenck 6048e70
Migrate doorbird to get_url helper
frenck 4499eca
Accept optional string on is_ip_address util
frenck 82f23cc
Adjust helper strategy
frenck f51913d
Migrate almond to get_url helper
frenck 3c57db9
Fix Home Assistant Cast tests
frenck 4f6d01f
Migrate alexa to get_url helper
frenck 6676d04
Migrate webhook to get_url helper
frenck 33811e7
Migrate browser.open in main to get_url
frenck ff78396
Migrate OAuth2 config entry flow to get_url
frenck 1b6950b
Migrate ambiclimate to get_url helper
frenck 8c8a84f
Fix Withings tests
frenck d4ee5d9
Migrate fitbit to get_url helper
frenck bafbfc6
Migrate telegram_bot to get_url helper
frenck cbd6e3f
Migrate wink to get_url helper
frenck ebd7227
Migrate smartthings to get_url helper
frenck 365258b
Migrate media_player to get_url helper
frenck bb671d7
Migrate plex to get_url helper
frenck 7c991fd
Migrate zeroconf service info
frenck 591b32c
Migrate konnected to get_url helper
frenck 4b87f78
Migrate camera to get_url helper
frenck 4f3a937
Adjust alexa get_url params based on feedback
frenck 63520a5
Migrate google_assistant to get_url helper
frenck b7dd938
Migrate tts to get_url helper
frenck 0549d66
Fix plex tests after rebase
frenck 0dec544
Fix google_translate TTS tests
frenck 8f0ec6b
Fix marytts TTS tests
frenck 5a63f6c
Fix voicerrs TTS tests
frenck be86e30
Fix yandextts TTS tests
frenck 447e0c4
Fix tts tests
frenck af91fb2
Remove SSL requirement from camera integration
frenck 8cd58b3
Remove camera stream SSL requirement from google_assistant integration
frenck d948b53
Always use 127.0.0.1 for main browser.open
frenck 4061968
Add local_ip to http ApiConfig
frenck 8cbe55c
Raise exception in Alexa if no suitable URL found
frenck 5227ef9
Remove Optional parameter from is_ip_address
frenck 6d1ffe8
Migrate base_url to core on first load
frenck 122378c
Test migration base_url -> internal/external
balloob e991cc7
Better test name
balloob File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
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.
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.
This is not async context here. Looks like the whole platform is sync.