I’ve been using platform: file
to log CSV style stuff. It works very well but I really want to have HA build an HTML web page. I’ve hacked together a method for building anchor tags:
- service: notify.list_of_captures
data_template:
message: '<a href="https://mydomain.com/{{ trigger.payload_json.heartbeat }}_0.jpg">{{ now().strftime("%m/%d/%Y %H:%M:%S") }} {{ trigger.payload_json.my_long_name }}</a><br>'
Technically the resulting makeshift web page works but I really want to insert the new anchor tag at the top of the page instead of the bottom. Just wondering if there are any ideas out there for ways to do this.
Thanks!