Certificate expiry automation

Hi,

Another noobie question. I have installed the certificate expiry component and I can get a timestamp telling me the date when my certificate will expire. Now I would like to use this as a trigger to start an automation which will reload the letsencrypt addon.

I have tried messing with templates to change the state of the sensor so that I can use the threshold trigger but without luck.

I am sure I am not the only one attempting that. If any one can help!

Thanks good people of HA

Does the add-on not automatically renew the certs?

Please show your current non-working code.