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

Public Member Functions

None __init__ (self, str command, int timeout)
 
None send_message (self, str message="", **Any kwargs)
 

Public Attributes

 command
 

Private Attributes

 _timeout
 

Detailed Description

Implement the notification service for the Command Line service.

Definition at line 37 of file notify.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.command_line.notify.CommandLineNotificationService.__init__ (   self,
str  command,
int  timeout 
)
Initialize the service.

Definition at line 40 of file notify.py.

Member Function Documentation

◆ send_message()

None homeassistant.components.command_line.notify.CommandLineNotificationService.send_message (   self,
str   message = "",
**Any  kwargs 
)
Send a message to a command line.

Definition at line 45 of file notify.py.

Member Data Documentation

◆ _timeout

homeassistant.components.command_line.notify.CommandLineNotificationService._timeout
private

Definition at line 43 of file notify.py.

◆ command

homeassistant.components.command_line.notify.CommandLineNotificationService.command

Definition at line 42 of file notify.py.


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