lozzd / octopus-energy-rates-card

This lovelace card for Home Assistant displays the Octopus Energy rate prices per each 30 minute slot
MIT License
65 stars 22 forks source link

Show current price #7

Closed TheNeutrinoRaged closed 1 year ago

TheNeutrinoRaged commented 1 year ago

I wanted to see the current price without having to show the entire past 24hours, I think changing the date comparison to -30 minutes should do it? it seemed to work on my end but feel free to ignore this PR if this is the wrong way to go about it or if you don't want this feature.

Love the card thanks for your work!

TheNeutrinoRaged commented 1 year ago

Not sure If I've even done this PR correctly, accidentally made it on my own fork first of all 🤦

lozzd commented 1 year ago

Thanks so much for this! Makes way more sense. I made some other changes so I incorporated this in my latest release which is now available (v0.1.3)