I noticed a lot of people having problems getting this to work, so I thought I would post my project that was successful and turned out really well. I installed Android TV Notification on both my TV and Home Assistant, and then created an automation that checks the status of the garage doors and then posts the following notification on the TV:
service: notify.android_tv
data:
message: >-
The Van Door is {% if is_state('binary_sensor.i_o_linc_1f_0b_58_sensor',
'off') %}Closed{% else %}Open{% endif %}!
data:
color: gray
position: bottom-left
fontsize: max
icon:
url: >-
{% if is_state('binary_sensor.i_o_linc_1f_0b_58_sensor', 'off') %}
http://192.168.1.192/img/gd_closed.png {% else %}
http://192.168.1.192/img/gd_open.png {% endif %}
Second garage door in a new automation with the following code:
service: notify.android_tv
data:
message: >-
The Car Door is {% if is_state('binary_sensor.i_o_linc_1f_0b_42_sensor',
'off') %}Closed{% else %}Open{% endif %}!
data:
color: gray
fontsize: max
icon:
url: >-
{% if is_state('binary_sensor.i_o_linc_1f_0b_42_sensor', 'off') %}
http://192.168.1.192/img/gd_closed.png {% else %}
http://192.168.1.192/img/gd_open.png {% endif %}
Hope this helps!