Remove HomeAssistantType alias - Part 4 (#49515)
This commit is contained in:
parent
77ae4abc6e
commit
168b3c100c
22 changed files with 63 additions and 68 deletions
|
@ -13,14 +13,13 @@ from homeassistant.const import (
|
|||
EVENT_HOMEASSISTANT_START,
|
||||
EVENT_HOMEASSISTANT_STOP,
|
||||
)
|
||||
from homeassistant.core import callback
|
||||
from homeassistant.core import HomeAssistant, callback
|
||||
import homeassistant.helpers.config_validation as cv
|
||||
from homeassistant.helpers.dispatcher import (
|
||||
async_dispatcher_connect,
|
||||
async_dispatcher_send,
|
||||
)
|
||||
from homeassistant.helpers.entity import Entity
|
||||
from homeassistant.helpers.typing import HomeAssistantType
|
||||
|
||||
DOMAIN = "ffmpeg"
|
||||
|
||||
|
@ -91,7 +90,7 @@ async def async_setup(hass, config):
|
|||
|
||||
|
||||
async def async_get_image(
|
||||
hass: HomeAssistantType,
|
||||
hass: HomeAssistant,
|
||||
input_source: str,
|
||||
output_format: str = IMAGE_JPEG,
|
||||
extra_cmd: str | None = None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue