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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue