From b37ba4d0b7eb75669a9d8a850d6c51e3a759b476 Mon Sep 17 00:00:00 2001 From: Milan Meulemans Date: Fri, 23 Apr 2021 16:44:44 +0200 Subject: [PATCH] Rename HomeAssistantType to HomeAssistant (#897) --- docs/reproduce_state_index.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/reproduce_state_index.md b/docs/reproduce_state_index.md index 0fd4ae8b..0c8bcf4f 100644 --- a/docs/reproduce_state_index.md +++ b/docs/reproduce_state_index.md @@ -15,12 +15,11 @@ If you prefer to go the manual route, create a new file in your integration fold ```python import asyncio from typing import Iterable, Optional -from homeassistant.core import Context, State -from homeassistant.helpers.typing import HomeAssistantType +from homeassistant.core import Context, HomeAssistant, State async def async_reproduce_states( - hass: HomeAssistantType, states: Iterable[State], context: Optional[Context] = None + hass: HomeAssistant, states: Iterable[State], context: Optional[Context] = None ) -> None: """Reproduce component states.""" # TODO reproduce states