Skip to content

Commit

Permalink
fix: missing public_url (#2670)
Browse files Browse the repository at this point in the history
closes #2554
  • Loading branch information
danielbrunt57 authored Nov 12, 2024
1 parent 2c910fa commit bf6fd10
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions custom_components/alexa_media/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,10 @@ async def async_setup(hass, config, discovery_info=None):
hass.config_entries.async_update_entry(
entry,
data={
CONF_URL: account[CONF_URL],
CONF_EMAIL: account[CONF_EMAIL],
CONF_PASSWORD: account[CONF_PASSWORD],
CONF_URL: account[CONF_URL],
CONF_PUBLIC_URL: account[CONF_PUBLIC_URL],
CONF_INCLUDE_DEVICES: account[CONF_INCLUDE_DEVICES],
CONF_EXCLUDE_DEVICES: account[CONF_EXCLUDE_DEVICES],
CONF_SCAN_INTERVAL: account[
Expand Down Expand Up @@ -186,7 +187,7 @@ async def async_setup(hass, config, discovery_info=None):
CONF_URL: account[CONF_URL],
CONF_EMAIL: account[CONF_EMAIL],
CONF_PASSWORD: account[CONF_PASSWORD],
CONF_PUBLIC_URL: account[CONF_PUBLIC_URL],
CONF_PUBLIC_URL: account.get(CONF_PUBLIC_URL, ""),
CONF_INCLUDE_DEVICES: account[CONF_INCLUDE_DEVICES],
CONF_EXCLUDE_DEVICES: account[CONF_EXCLUDE_DEVICES],
CONF_SCAN_INTERVAL: account[CONF_SCAN_INTERVAL].total_seconds(),
Expand Down

0 comments on commit bf6fd10

Please sign in to comment.