mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Move imports for hp_ilo components (#27906)
This commit is contained in:
parent
2110fea02b
commit
0cd55d6716
@ -2,6 +2,7 @@
|
||||
from datetime import timedelta
|
||||
import logging
|
||||
|
||||
import hpilo
|
||||
import voluptuous as vol
|
||||
|
||||
from homeassistant.components.sensor import PLATFORM_SCHEMA
|
||||
@ -180,8 +181,6 @@ class HpIloData:
|
||||
@Throttle(MIN_TIME_BETWEEN_UPDATES)
|
||||
def update(self):
|
||||
"""Get the latest data from HP iLO."""
|
||||
import hpilo
|
||||
|
||||
try:
|
||||
self.data = hpilo.Ilo(
|
||||
hostname=self._host,
|
||||
|
Loading…
x
Reference in New Issue
Block a user