From 8655f2120b564bf6e464951d2aad7d8afeea955e Mon Sep 17 00:00:00 2001 From: Felix Cusson <60357894+fcusson@users.noreply.github.com> Date: Sun, 27 Feb 2022 12:17:06 -0500 Subject: [PATCH] changed entity._devices to entity_devices --- custom_components/spotcast/helpers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_components/spotcast/helpers.py b/custom_components/spotcast/helpers.py index efffceee..985ac093 100644 --- a/custom_components/spotcast/helpers.py +++ b/custom_components/spotcast/helpers.py @@ -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 @@ -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() == "" \ No newline at end of file + return string is None or string.strip() == ""