10000 Move imports to top for mycroft by springstan · Pull Request #29355 · home-assistant/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Move imports to top for mycroft #29355

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 3, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions homeassistant/components/mycroft/notify.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
"""Mycroft AI notification platform."""
import logging

from homeassistant.components.notify import BaseNotificationService
from mycroftapi import MycroftAPI

from homeassistant.components.notify import BaseNotificationService

_LOGGER = logging.getLogger(__name__)

Expand All @@ -21,7 +22,6 @@ def __init__(self, mycroft_ip):

def send_message(self, message="", **kwargs):
"""Send a message mycroft to speak on instance."""
from mycroftapi import MycroftAPI

text = message
mycroft = MycroftAPI(self.mycroft_ip)
Expand Down
0