Skip to content

Commit

Permalink
revert: "fix: missing public_url (#2670)" (#2684)
Browse files Browse the repository at this point in the history
This reverts commit bf6fd10.
  • Loading branch information
danielbrunt57 authored Nov 17, 2024
1 parent 7a76002 commit 01b9699
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions custom_components/alexa_media/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,9 @@ 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_PUBLIC_URL: account[CONF_PUBLIC_URL],
CONF_URL: account[CONF_URL],
CONF_INCLUDE_DEVICES: account[CONF_INCLUDE_DEVICES],
CONF_EXCLUDE_DEVICES: account[CONF_EXCLUDE_DEVICES],
CONF_SCAN_INTERVAL: account[
Expand Down Expand Up @@ -187,7 +186,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.get(CONF_PUBLIC_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[CONF_SCAN_INTERVAL].total_seconds(),
Expand Down

0 comments on commit 01b9699

Please sign in to comment.