JaccoR / hass-entso-e

Integration for Home Assistant to fetch day ahead energy prices from European countries via ENTSO-e Transparency Platform
159 stars 25 forks source link

time of highest/lowest format not as intended? #64

Closed Mariusthvdb closed 1 year ago

Mariusthvdb commented 1 year ago
Scherm­afbeelding 2022-11-04 om 14 48 22

seems the same issue we had before

also, these are the only 2 mention 'energy' while electricity would bring it in accordance with the other entities?

Time Of Highest Energy Price Today Time Of Lowest Energy Price Today

just another thought: since this integration is about electricity prices, and electricity only, wouldn't it be more efficient/less redundant to leave 'electricity' out of the name and entity_id completely? its what I do:

Scherm­afbeelding 2022-11-04 om 14 52 21

and thanks for this new version, much better on the attributes! compliments for that.

JaccoR commented 1 year ago

tbh i have no idea what is causing this. No changes were made regarding this. Is this since daylight saving time switched?

Mariusthvdb commented 1 year ago

o I forgot to check that, sorry. could be indeed. its also showing on other browsers, so not the famous issue using iso format. (just above https://www.home-assistant.io/docs/configuration/templating/#tofrom-json)

none of the time formats changes the display, so that wont help

since we saw this before, let me ask what did you change at that time to fix it? I believe it as the name change that fixed it? After that, you Ince more change the name formatting, couldn't it have to do with that?

JaccoR commented 1 year ago

Yes that had to do with the name. Only when a name has been set the format would be wrong. But this time the format doesn't work for both cases: no name set and with a name set. So i think the issue is something else. The time string is in the right format and the sensor is set to device class timestamp. This is really bugging me and I can not figure out what the problem is.