Source: https://github.com/gugutab/TvOverlay
- Install the application on your TV
- Get the IP of the TV unit
from tvoverlay import Notifications
notify = Notifications("192.168.1.10")
try:
await notify.async_connect()
expect ConnectError:
return False
await notify.async_send(
"message text",
title="Title text",
)
{
"message": "Message",
"title": "Title",
"id": "test1",
"appTitle": "Postman",
"appIcon": "mdi:unicorn",
"color": "#FFC107",
"image": "https://picsum.photos/200/100",
"smallIcon": "mdi:bell",
"largeIcon": "mdi:home-assistant",
"corner": "bottom_end",
"seconds": 20
}