mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 17:27:52 +00:00
Switch hassio to use with_path where possible (#125268)
* Switch hassio to use with_path where possible Any place we are joining to the root url, we can use with_path as its much faster * revert
This commit is contained in:
parent
c8fd48523f
commit
71d35a03e1
@ -568,7 +568,7 @@ class HassIO:
|
||||
|
||||
This method is a coroutine.
|
||||
"""
|
||||
joined_url = self._base_url.join(URL(command))
|
||||
joined_url = self._base_url.with_path(command)
|
||||
# This check is to make sure the normalized URL string
|
||||
# is the same as the URL string that was passed in. If
|
||||
# they are different, then the passed in command URL
|
||||
|
Loading…
x
Reference in New Issue
Block a user