Notifications for Android TV / Fire TV
Notification integration for Notifications for Android TV and Notifications for Fire TV. You can use this integration to send notifications to your Android TV device. An overlay with the message content will appear for a configurable amount of seconds and then disappear again. Sending images (e.g., security cam) and custom icons is supported too. Icons are essentially the same as images (any image format supported by Android TV is supported), but are displayed small and to the left of the notification whereas images are large and above the notification.
The notifications are in the global scope of your Android TV device. They will be displayed regardless of which application is running.
When setting this up be aware, that there are two apps: one for your smartphone to send notifications (not required for this platform) and one for your Android TV device to receive the notifications. The app available in the store of your Android TV device is the one that is needed to display notifications sent from Home Assistant. The In-App purchases only apply to the client for Android smartphones, so there isn’t any limit when pushing notifications from Home Assistant.
Prerequisites
Make sure the app on your TV has the following permissions enabled:
- Notification access
- Display over other apps
On some TVs, opening the app and following its setup wizard will prompt you to grant these permissions. You might need to restart your TV after changing them.
Configuration
To add the Notifications for Android TV / Fire TV service to your Home Assistant instance, use this My button:
Manual configuration steps
If the above My button doesn’t work, you can also perform the following steps manually:
-
Browse to your Home Assistant instance.
-
In the bottom right corner, select the
Add Integration button. -
From the list, select Notifications for Android TV / Fire TV.
-
Follow the instructions on screen to complete the setup.
Supported functionality
Sending notifications
The Notifications for Android TV / Fire TV integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] adds a notify entityAn entity represents a sensor, actor, or function in Home Assistant. Entities are used to monitor physical properties or to control other entities. An entity is usually part of a device or a service. [Learn more] for each configured TV, such as notify.my_android_tv. To show a notification on your TV, use the Send a notification message (notify.send_message) actionAn action makes Home Assistant do something, for example, turn on a light, send a notification, or activate a scene. Automations and scripts run a list of actions. [Learn more] and select your TV notify entity as the target. For more customizable notifications, use the Notifications for Android TV / Fire TV: Send a notification message (nfandroidtv.send_message) instead.
You can send a basic message, or add images and icons for camera snapshots, reminders, and status updates.
To send a notification from an automation or a script:
- Go to Settings > Automations & scenes.
- Open an existing automation or script, or select Create automation > Create new automation.
- If you’re setting up a new automation, add a trigger in the When section. Scripts don’t need a trigger. They run when something else calls them.
- In the Then do section, select Add action.
- Search for and select Send a notification message.
- Under Targets, select the notify entity for your TV.
- Enter the Message and set any other options.
- Select Save.
action: notify.send_message
target:
entity_id: notify.my_tv
data:
title: "Just a reminder"
message: "You are awesome!"
List of actions
The Notifications for Android TV / Fire TV integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] provides the following actions. Each link below opens a dedicated page with examples, parameters, and a step-by-step UI walkthrough.
-
Send a notification message (
nfandroidtv.send_message) Send a notification to your Android TV or Fire TV with support for images, icons, and dialog appearance customization.
For an overview of every action across all integrations, see the actions reference.
Automation examples
These examples show how to use the TV notify entity in automations. Replace the example entity IDs with the ones from your Home Assistant instance.
Automation: show a doorbell notification
Show a notification with a camera snapshot on the TV when the doorbell rang.
-
Trigger: Doorbell rang
- Targe: Front door doorbell
-
Action: Send a notification via
nfandroidtv.send_message-
Target: Living room TV (
notify.living_room_tv) - Message: Someone is at the front door.
-
Image: Snapshot from
camera.front_door - Duration: 4 seconds
- Position: Bottom left
-
Target: Living room TV (
Show example YAML
alias: "Show doorbell notification on the TV"
triggers:
- trigger: doorbell.rang
target:
entity_id: event.front_door_doorbell
actions:
- action: nfandroidtv.send_message
target:
entity_id: notify.living_room_tv
data:
message: "Someone is at the front door."
image:
media_content_id: media-source://camera/camera.front_door
media_content_type: application/vnd.apple.mpegurl
duration:
seconds: 4
position: "bottom-left"