Skip to content

Commit

Permalink
fix typo in async_setup
Browse files Browse the repository at this point in the history
  • Loading branch information
npope committed Oct 19, 2020
1 parent b9a878a commit 521f9f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/crestron/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])

Expand Down

0 comments on commit 521f9f7

Please sign in to comment.