Skip to content

Commit

Permalink
changed entity._devices to entity_devices
Browse files Browse the repository at this point in the history
  • Loading branch information
fcusson authored Feb 27, 2022
1 parent 2248430 commit 8655f21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/spotcast/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def get_spotify_devices(hass, spotify_user_id):
except(AttributeError):
entity_devices = entity.data.devices.data

_LOGGER.debug(f"get_spotify_devices: {entity.entity_id}: {entity.name}: %s", entity._devices)
_LOGGER.debug(f"get_spotify_devices: {entity.entity_id}: {entity.name}: %s", entity_devices)
spotify_media_player = entity
break

Expand Down Expand Up @@ -196,4 +196,4 @@ def is_valid_uri(uri: str) -> bool:
return True

def is_empty_str(string:str) -> bool:
return string is None or string.strip() == ""
return string is None or string.strip() == ""

0 comments on commit 8655f21

Please sign in to comment.