Fix SMS doing I/O in event loop (#35313)

This commit is contained in:
Paulus Schoutsen
2020-05-06 18:42:47 -07:00
committed by GitHub
parent eb826e5956
commit 64ce8e970f

View File

@@ -17,7 +17,7 @@ CONFIG_SCHEMA = vol.Schema(
)
async def async_setup(hass, config):
def setup(hass, config):
"""Configure Gammu state machine."""
conf = config[DOMAIN]
device = conf.get(CONF_DEVICE)