Amounts don’t come every day, and it happens that after a few days, Lovelace card si displayed unknown instead of the (last) actual number. Is it possible to “add something to the code” that will keep the last state until the number changes? Thank you.
I will manually change the record in MySQL or I will wait for a new email, so that I can confirm the functionality of the provided code modification. I’ll let you know, thank you.
Hi. It works, but after saving (a new template from your code) and restarting, the new template “takes” the first (oldest) e-mail from today (there are three emails today in total) and not the last (current). Is that okay, and after days without an incoming email, the last state value will remain until next week, for example? Thank you.