Convert SData Time Variable to YYYY/MM/DD Time

A variable for the Tesla car Vera plugin shows up in the Sdata as followa "LastCarMessageTimestamp": "1610906296", when I bring this into HR it doesn’t format the date correctly like it does for the lasttrip variable for contact sensors. It shows up as follows. How can I get the date to by formatted like it is for contact sensors?


image

The integration knows that lasttrip is date. It does not know that LastCarMessageTimestamp is a date/time. That’s why it’s being left in its original numeric format. I’ll update the code to go ahead & convert LastCarMessageTimestamp in the next release.

1 Like