Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.tts.notify.TTSNotificationService Class Reference
Inheritance diagram for homeassistant.components.tts.notify.TTSNotificationService:
[legend]
Collaboration diagram for homeassistant.components.tts.notify.TTSNotificationService:
[legend]

Public Member Functions

None __init__ (self, ConfigType config)
 
None async_send_message (self, str message="", **Any kwargs)
 

Private Attributes

 _language
 
 _media_player
 
 _target
 
 _tts_service
 

Detailed Description

The TTS Notification Service.

Definition at line 53 of file notify.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.tts.notify.TTSNotificationService.__init__ (   self,
ConfigType  config 
)
Initialize the service.

Definition at line 56 of file notify.py.

Member Function Documentation

◆ async_send_message()

None homeassistant.components.tts.notify.TTSNotificationService.async_send_message (   self,
str   message = "",
**Any  kwargs 
)
Call TTS service to speak the notification.

Definition at line 67 of file notify.py.

Member Data Documentation

◆ _language

homeassistant.components.tts.notify.TTSNotificationService._language
private

Definition at line 65 of file notify.py.

◆ _media_player

homeassistant.components.tts.notify.TTSNotificationService._media_player
private

Definition at line 64 of file notify.py.

◆ _target

homeassistant.components.tts.notify.TTSNotificationService._target
private

Definition at line 61 of file notify.py.

◆ _tts_service

homeassistant.components.tts.notify.TTSNotificationService._tts_service
private

Definition at line 63 of file notify.py.


The documentation for this class was generated from the following file: