Improved async. Fix #97.

This commit is contained in:
2020-05-02 21:03:23 +02:00
parent 59478919f1
commit 350a18bf81
4 changed files with 6 additions and 6 deletions

View File

@@ -3,7 +3,7 @@ from .const import DOMAIN, DATA_DEVICES, DATA_ALIASES, USER_COMMANDS
_LOGGER = logging.getLogger(__name__)
def setup_service(hass):
async def setup_service(hass):
def handle_command(call):
command = call.data.get("command", None)