From 521f9f73bd5519923f9054221c3b032cb060c3a6 Mon Sep 17 00:00:00 2001 From: Nick Pope Date: Mon, 19 Oct 2020 13:54:35 -0400 Subject: [PATCH] fix typo in async_setup --- custom_components/crestron/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/crestron/__init__.py b/custom_components/crestron/__init__.py index 5046ddb..6554009 100644 --- a/custom_components/crestron/__init__.py +++ b/custom_components/crestron/__init__.py @@ -72,7 +72,7 @@ async def async_setup(hass, config): """Set up a the crestron component.""" - if config.get[DOMAIN] is not None: + if config.get(DOMAIN) is not None: hass.data[DOMAIN] = {} hub = CrestronHub(hass, config[DOMAIN])