mirror of
https://github.com/home-assistant/core
synced 2024-10-04 07:58:43 +02:00
Adjust mailbox type hints (#64051)
Co-authored-by: epenet <epenet@users.noreply.github.com>
This commit is contained in:
parent
5f0fcb1a70
commit
c495317a71
@ -20,7 +20,7 @@ async def async_get_handler(
|
||||
hass: HomeAssistant,
|
||||
config: ConfigType,
|
||||
discovery_info: DiscoveryInfoType | None = None,
|
||||
) -> Mailbox | None:
|
||||
) -> Mailbox:
|
||||
"""Set up the Asterix CDR platform."""
|
||||
return AsteriskCDR(hass, MAILBOX_NAME)
|
||||
|
||||
|
@ -23,7 +23,7 @@ async def async_get_handler(
|
||||
hass: HomeAssistant,
|
||||
config: ConfigType,
|
||||
discovery_info: DiscoveryInfoType | None = None,
|
||||
) -> Mailbox | None:
|
||||
) -> Mailbox:
|
||||
"""Set up the Asterix VM platform."""
|
||||
return AsteriskMailbox(hass, ASTERISK_DOMAIN)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user