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

targetTimesEntities works with Chrome but not Edge #72

Closed ColinSainsbury closed 4 months ago

ColinSainsbury commented 4 months ago

Microsoft Edge Version 121.0.2277.128 (Official build) (64-bit) Windows 11 23H2 Feb 24 CU shows the cheapest 30 minute sections with navy blue when using targetTimesEntity but if I use targetTimesEntities there is no highlighting. The same code: targetTimesEntities: binary_sensor.octopus_energy_target_powerwall: backgroundColour: navy prefix: 🔋 shows correctly in Google Chrome image

but Edge shows image

Also shows correctly via HA Companion App on iOS

alinbalutoiu commented 4 months ago

There is no targetTimesEntity option so not sure what you're referring to here.

I just tried out my configuration in Microsoft Edge on my macbook and everything works as expected.

Could you share the console logs for edge in your case?

alinbalutoiu commented 4 months ago

Ah, just realised, that is the previous option.

It does sound like Edge is having some caching issues and not loading the latest version of the integration.

Do you still see the same in an incognito window? Try clearing your Edge browser cache

ColinSainsbury commented 4 months ago

Sorry, should have thought of the cache clear. All working now. Thanks

ColinSainsbury commented 4 months ago

Issue cache related