ha_strava icon indicating copy to clipboard operation
ha_strava copied to clipboard

Add date timestamp attribute to sensors

Open arturogutierrez opened this issue 5 years ago • 1 comments

Hi there!

First, thanks for this amazing integration, it works flawlessly! Thanks for spend time here :)

Said that, I'm trying to make some automation when I come home after running or biking but, in order to detect if I'm coming from doing some exercise I'd like to know how much time has passed since the activity 0 finished. I'd just need a timestamp to be able to make some simple date maths. I've seen you already have it but you are just using it as a formatted title so, would be possible to add a new attribute with the raw timestamp?

Thanks in advance!

arturogutierrez avatar Oct 18 '20 22:10 arturogutierrez

hi @arturogutierrez adding the bare time stamp as a sensor is a good idea! I'm pretty busy at work these days, but I hope to get to that over the next couple of weeks.

codingcyclist avatar Oct 28 '20 22:10 codingcyclist