Input_datetime entity need to show seconds

I’m trying to figure out how to use the Entity or Entities card to set seconds on an input.datetime entity.

When I add the entity to the entities card I get an input field that only shows HH:MM, but the entity is made up of HH:MM:SS. I can make changes to the seconds using the States developer tool, but I’m trying to keep everything on one card.

Electric Meter Card

I’m trying to do this because I have a working dual rate electricity meter (based on HA Glow) and I’ve got 2 sets of meter readings working perfectly and staying in sync with whats on the meter. I’ve noticed a slight drift due to the fact that meter is synced to its own clock which drifts from internet time by some 30 seconds a month. At the moment this is controlled by changing the trigger times in a Energy Meter Helper, but I’ve like to put all the offsets in one place (Entities Card).

Any guidance or comments would be really appreciated.

PS I already posted in the Epic Date/Time manipulation thread. Could an admin please remove it - Thanks

1 Like

Anybody - this should be possible to solve, I just don’t know where to look.

2 Likes

Have the same question, I looking for hours for an alternative and couldn’t find

WTH input_datetime controls do not have “seconds”

The default card does not show seconds for the entity but have you tried using the custom:time-picker-card.?

Seconds are hidden by default so the value would have to be changed from “true” to “false”.

1 Like

Seems to be a promising custom card. Might be a good workaround until it is fixed in a stock frontend.