mirror of
https://github.com/home-assistant/core.git
synced 2025-08-06 14:15:12 +02:00
Fix SMS doing I/O in event loop (#35313)
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user