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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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