mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 21:57:51 +00:00
Move imports to top for stiebel_eltron (#29224)
This commit is contained in:
parent
7d90b1f9ec
commit
39bf1b5f5d
@ -2,6 +2,7 @@
|
|||||||
from datetime import timedelta
|
from datetime import timedelta
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
|
from pystiebeleltron import pystiebeleltron
|
||||||
import voluptuous as vol
|
import voluptuous as vol
|
||||||
|
|
||||||
from homeassistant.components.modbus import (
|
from homeassistant.components.modbus import (
|
||||||
@ -55,7 +56,6 @@ class StiebelEltronData:
|
|||||||
|
|
||||||
def __init__(self, name, modbus_client):
|
def __init__(self, name, modbus_client):
|
||||||
"""Init the STIEBEL ELTRON data object."""
|
"""Init the STIEBEL ELTRON data object."""
|
||||||
from pystiebeleltron import pystiebeleltron
|
|
||||||
|
|
||||||
self.api = pystiebeleltron.StiebelEltronAPI(modbus_client, 1)
|
self.api = pystiebeleltron.StiebelEltronAPI(modbus_client, 1)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user