2016-07-31 20:56:57 +00:00
|
|
|
"""Typing Helpers for Home-Assistant."""
|
2016-08-30 16:22:52 +00:00
|
|
|
from typing import Dict, Any, Tuple
|
2016-07-31 20:56:57 +00:00
|
|
|
|
2016-08-30 16:22:52 +00:00
|
|
|
import homeassistant.core
|
2016-08-07 23:26:35 +00:00
|
|
|
|
2016-07-31 20:56:57 +00:00
|
|
|
# pylint: disable=invalid-name
|
2016-08-07 23:26:35 +00:00
|
|
|
|
2016-08-30 16:22:52 +00:00
|
|
|
GPSType = Tuple[float, float]
|
|
|
|
ConfigType = Dict[str, Any]
|
|
|
|
HomeAssistantType = homeassistant.core.HomeAssistant
|
2016-07-31 20:56:57 +00:00
|
|
|
|
2016-08-30 16:22:52 +00:00
|
|
|
# Custom type for recorder Queries
|
|
|
|
QueryType = Any
|