delzear / hass-formulaoneapi

Formula One API Integration Into Home Assistant
53 stars 10 forks source link

Add race start time as datetime timestamp attribute #5

Closed skulumani closed 2 years ago

skulumani commented 3 years ago

It would be useful to add the datetime time for start of each race as an additional attribute.

I'll try to take a look through your code and how you build it and submit a PR.

Thanks!

skulumani commented 3 years ago

Looks like the atrributes are built here

And it's actually just copying the data from the ergast API into the attributes dictionary. I guess the dictionary would have to change then