From 1f7992ea9465893c8d604952c2c8c6839337be5d Mon Sep 17 00:00:00 2001 From: Ryan Meek <25127328+maykar@users.noreply.github.com> Date: Mon, 15 Feb 2021 10:39:37 -0500 Subject: [PATCH] fix start script debug --- custom_components/plex_assistant/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/plex_assistant/__init__.py b/custom_components/plex_assistant/__init__.py index 42dfd8d..df99f58 100644 --- a/custom_components/plex_assistant/__init__.py +++ b/custom_components/plex_assistant/__init__.py @@ -72,7 +72,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry): start_script = json.loads("{" + start_script + "}") if start_script: for script in start_script.keys(): - _LOGGER.debug(f"Script {script}: {start_script[script][0]}, {start_script[script][1]}") + _LOGGER.debug(f"Script {script}: {start_script[script]}") except: start_script = None _LOGGER.warning("Plex Assistant: There is a formatting issue with your client start script config.")