mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Fix SMS doing I/O in event loop (#35313)
This commit is contained in:
parent
eb826e5956
commit
64ce8e970f
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user