24 lines
876 B
YAML
24 lines
876 B
YAML
# NOT WORKING
|
|
|
|
# Adding notify to Configuration.yaml file
|
|
# --------------------------------------------------------
|
|
# open home-assistant configration.yaml file with nano
|
|
nano /mnt/SSD1/docker/data/home-assistant/config/configuration.yaml
|
|
# Add the following lines to the end of the file
|
|
notify:
|
|
- platform: androidtv
|
|
name: Android TV
|
|
host: nova4k.sthome.org
|
|
|
|
# Checking the configuration and restarting home-assistant
|
|
# --------------------------------------------------------
|
|
# In home-assistant, go to Developer Tools > YAML and click Check Configuration.
|
|
# If there are no errors, click Restart to apply the changes.
|
|
|
|
# In home-assistant, go to Developer Tools > Services and select the notify service.
|
|
# In the Service Data field, enter the following JSON:
|
|
{
|
|
"message": "Hello from Home Assistant!",
|
|
"title": "Test Notification",
|
|
"target": "Android TV"
|
|
} |