Adjust mailbox type hints (#64051)
Co-authored-by: epenet <epenet@users.noreply.github.com>pull/64104/head
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