From 03fe7cb34785f88ce517cfae8356ccfbe2586417 Mon Sep 17 00:00:00 2001 From: springstan <46536646+springstan@users.noreply.github.com> Date: Tue, 26 Nov 2019 19:08:16 +0100 Subject: [PATCH] Move imports to top for twilio_call (#29104) --- homeassistant/components/twilio_call/notify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/twilio_call/notify.py b/homeassistant/components/twilio_call/notify.py index 82705091814..83ca081b26e 100644 --- a/homeassistant/components/twilio_call/notify.py +++ b/homeassistant/components/twilio_call/notify.py @@ -2,6 +2,7 @@ import logging import urllib +from twilio.base.exceptions import TwilioRestException import voluptuous as vol from homeassistant.components.notify import ( @@ -42,7 +43,6 @@ class TwilioCallNotificationService(BaseNotificationService): def send_message(self, message="", **kwargs): """Call to specified target users.""" - from twilio.base.exceptions import TwilioRestException targets = kwargs.get(ATTR_TARGET)