mirror of
https://github.com/home-assistant/core.git
synced 2025-08-06 14:15:12 +02:00
committed by
Paulus Schoutsen
parent
afa7e0bfe8
commit
2cf3f6bffa
@@ -3,6 +3,8 @@ from collections import defaultdict
|
||||
import logging
|
||||
|
||||
import voluptuous as vol
|
||||
from teslajsonpy import Controller as teslaAPI, TeslaException
|
||||
|
||||
|
||||
from homeassistant.const import (
|
||||
ATTR_BATTERY_LEVEL,
|
||||
@@ -52,8 +54,6 @@ TESLA_COMPONENTS = [
|
||||
|
||||
def setup(hass, base_config):
|
||||
"""Set up of Tesla component."""
|
||||
from teslajsonpy import Controller as teslaAPI, TeslaException
|
||||
|
||||
config = base_config.get(DOMAIN)
|
||||
|
||||
email = config.get(CONF_USERNAME)
|
||||
|
Reference in New Issue
Block a user