From d795410b27896acd5d0d15c6a23262b443774093 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 12 Feb 2019 21:44:30 +0100 Subject: [PATCH] Update ordering (#21013) --- .../components/system_health/__init__.py | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/homeassistant/components/system_health/__init__.py b/homeassistant/components/system_health/__init__.py index fca433550d7..05e5b76fb5b 100644 --- a/homeassistant/components/system_health/__init__.py +++ b/homeassistant/components/system_health/__init__.py @@ -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 from collections import OrderedDict import logging @@ -7,15 +12,17 @@ from typing import Callable, Dict import async_timeout 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.core import callback +from homeassistant.helpers.typing import ConfigType, HomeAssistantType +from homeassistant.loader import bind_hass + +_LOGGER = logging.getLogger(__name__) DEPENDENCIES = ['http'] DOMAIN = 'system_health' + INFO_CALLBACK_TIMEOUT = 5 -_LOGGER = logging.getLogger(__name__) @bind_hass