mirror of
https://github.com/home-assistant/core.git
synced 2025-07-31 19:25:12 +02:00
Move imports in github component (#27406)
This commit is contained in:
committed by
Paulus Schoutsen
parent
99885b9acf
commit
13ac6ac315
@@ -1,6 +1,7 @@
|
||||
"""Support for GitHub."""
|
||||
from datetime import timedelta
|
||||
import logging
|
||||
import github
|
||||
import voluptuous as vol
|
||||
|
||||
from homeassistant.components.sensor import PLATFORM_SCHEMA
|
||||
@@ -148,8 +149,6 @@ class GitHubData:
|
||||
|
||||
def __init__(self, repository, access_token=None, server_url=None):
|
||||
"""Set up GitHub."""
|
||||
import github
|
||||
|
||||
self._github = github
|
||||
|
||||
self.setup_error = False
|
||||
|
Reference in New Issue
Block a user