mirror of
https://github.com/home-assistant/core.git
synced 2025-07-31 19:25:12 +02:00
MQTT Static Typing (#12433)
* MQTT Typing
* Tiny style change
* Fixes
I should've probably really sticked to limiting myself to static typing...
* Small fix 😩
Ok, this seriously shouldn't have happened.
This commit is contained in:
@@ -8,6 +8,7 @@ import homeassistant.core
|
||||
GPSType = Tuple[float, float]
|
||||
ConfigType = Dict[str, Any]
|
||||
HomeAssistantType = homeassistant.core.HomeAssistant
|
||||
ServiceDataType = Dict[str, Any]
|
||||
|
||||
# Custom type for recorder Queries
|
||||
QueryType = Any
|
||||
|
Reference in New Issue
Block a user