Kindly click the like button of the video ;)
Here is template (applicable only for Zabbix 7.0):
https://github.com/aigarskadikis/poc/blob/cdb5174ffbb4cbb68a6f5e527366958eacf6acfa/7.0/host-availability-widget/zbx_export_templates.yaml
I forgot to mention to populate a value of {$ZABBIX.URL} macro. In order for template to work, please install the frontend address inside this macro at template or global level.
#zabbix