Skip to content

Commit

Permalink
fix(switch): increase delay for switch load
Browse files Browse the repository at this point in the history
Closes #361
  • Loading branch information
alandtse committed Sep 19, 2019
1 parent 2eca9fe commit 2b865f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/alexa_media/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
_LOGGER = logging.getLogger(__name__)


@retry_async(limit=5, delay=2, catch_exceptions=True)
@retry_async(limit=5, delay=5, catch_exceptions=True)
async def async_setup_platform(hass, config, add_devices_callback,
discovery_info=None):
"""Set up the Alexa switch platform."""
Expand Down

0 comments on commit 2b865f4

Please sign in to comment.