I currently have an Edit Indicator on my dashboard and I display the last time my device state was updated:
Last Updated
{{formatDate time-0 ‘MM/DD/YY h:mm A’}}
This works well. However, I would like to change the background color to red if the state change was over 60 minutes ago.
How do I subtract time-0 from current time?
{{subtract {{currentDateTime ‘x’}} {{time-0}} }} > 3600000
Thank you in advance,
John