Skip to content

Commit

Permalink
fix: use external hass url as default for proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
alandtse committed Feb 15, 2021
1 parent 9e3a7c7 commit aa8df7e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion custom_components/alexa_media/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,9 @@ async def async_step_user(self, user_input=None):
(
vol.Required(
CONF_HASS_URL,
default=self.config.get(CONF_HASS_URL, get_url(self.hass)),
default=self.config.get(
CONF_HASS_URL, get_url(self.hass, prefer_external=True)
),
),
str,
),
Expand Down

0 comments on commit aa8df7e

Please sign in to comment.