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

This commit is contained in:
Paulus Schoutsen 2020-05-06 18:42:47 -07:00
parent 6518249470
commit 7f1793e6a9

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)