Update ordering (#21013)
parent
80442e655d
commit
d795410b27
|
@ -1,4 +1,9 @@
|
||||||
"""System health component."""
|
"""
|
||||||
|
System health component.
|
||||||
|
|
||||||
|
For more details about this component, please refer to the documentation at
|
||||||
|
https://www.home-assistant.io/components/system_health/
|
||||||
|
"""
|
||||||
import asyncio
|
import asyncio
|
||||||
from collections import OrderedDict
|
from collections import OrderedDict
|
||||||
import logging
|
import logging
|
||||||
|
@ -7,15 +12,17 @@ from typing import Callable, Dict
|
||||||
import async_timeout
|
import async_timeout
|
||||||
import voluptuous as vol
|
import voluptuous as vol
|
||||||
|
|
||||||
from homeassistant.core import callback
|
|
||||||
from homeassistant.loader import bind_hass
|
|
||||||
from homeassistant.helpers.typing import HomeAssistantType, ConfigType
|
|
||||||
from homeassistant.components import websocket_api
|
from homeassistant.components import websocket_api
|
||||||
|
from homeassistant.core import callback
|
||||||
|
from homeassistant.helpers.typing import ConfigType, HomeAssistantType
|
||||||
|
from homeassistant.loader import bind_hass
|
||||||
|
|
||||||
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
DEPENDENCIES = ['http']
|
DEPENDENCIES = ['http']
|
||||||
DOMAIN = 'system_health'
|
DOMAIN = 'system_health'
|
||||||
|
|
||||||
INFO_CALLBACK_TIMEOUT = 5
|
INFO_CALLBACK_TIMEOUT = 5
|
||||||
_LOGGER = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
@bind_hass
|
@bind_hass
|
||||||
|
|
Loading…
Reference in New Issue