mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-28 03:36:29 +00:00
Rename HomeAssistantType to HomeAssistant (#897)
This commit is contained in:
parent
9459926ca8
commit
b37ba4d0b7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user