Skip to content

Commit

Permalink
remove abort setup
Browse files Browse the repository at this point in the history
#258 still a problem, will keep error message as debug for future release
  • Loading branch information
fcusson authored Nov 5, 2021
1 parent e681378 commit 1c67d29
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions custom_components/spotcast/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,10 @@
def setup(hass, config):

# get spotify core integration status
# if return false, could indicate a bad spotify integration. Race
# condition doesn't permit us to abort setup, see #258
if not helpers.get_spotify_install_status(hass):
_LOGGER.error("Spotify integration was not found, please verify integration is functionnal. Could result in python error...")
return False
_LOGGER.debug("Spotify integration was not found, please verify integration is functionnal. Could result in python error...")

"""Setup the Spotcast service."""
conf = config[DOMAIN]
Expand Down

0 comments on commit 1c67d29

Please sign in to comment.