Skip to content

Commit

Permalink
Replace deprecated ServiceCallType alias
Browse files Browse the repository at this point in the history
  • Loading branch information
ADHDSquir committed May 20, 2024
1 parent 5aa507a commit 8ad4269
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions custom_components/stream_assist/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

from homeassistant.config_entries import ConfigEntry
from homeassistant.const import Platform
from homeassistant.core import HomeAssistant, ServiceResponse, SupportsResponse
from homeassistant.core import HomeAssistant, ServiceResponse, SupportsResponse, ServiceCall
from homeassistant.helpers.device_registry import DeviceEntry
from homeassistant.helpers.typing import ConfigType, ServiceCallType
from homeassistant.helpers.typing import ConfigType

from .core import DOMAIN, get_stream_source, assist_run, stream_run
from .core.stream import Stream
Expand All @@ -15,7 +15,7 @@


async def async_setup(hass: HomeAssistant, config: ConfigType):
async def run(call: ServiceCallType) -> ServiceResponse:
async def run(call: ServiceCall) -> ServiceResponse:
stt_stream = Stream()

try:
Expand Down

0 comments on commit 8ad4269

Please sign in to comment.