lozzd / octopus-energy-rates-card

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

Feature request: Make current timeslot font bold #53

Closed josh-unwin closed 5 months ago

josh-unwin commented 6 months ago

I could have a go at doing this if you don't have capacity but think it'd be useful.

It'd be cool to highlight the current time slot in bold font.

corvus2606 commented 5 months ago

I've managed to put a marker on the current timeslot:

image

It's only visible if ShowPast is true

lozzd commented 5 months ago

Thanks @corvus2606 - Does it respect the colour scheme or is it always white? On my white background, I can't see it - can't tell if it's broken or just invisible

pcb1962 commented 5 months ago

is it always white?

Apparently not: image

I'm pleased to see that there is no indicator if showpast is false.

lozzd commented 5 months ago

ah! That might be issue. I have mine configured to show the current time, but not past. Well, i'm glad it's working properly :)

Will close this as it's live in v0.5.0. Thanks @corvus2606