Skip to content

[Feature]: Support for TIMESTAMP entities/attributes #54

Description

@peyn

Requirements

  • I checked the README.
  • I have updated entity-progress-card to the latest available version.
  • I did a search to see if there is a similar issue.

Is your feature request related to a problem?

Hi,

It would be terrific if the card could handle the TIMESTAMP type entities/attributes by default.
By handle I mean countdown to the timestamp value from the entity/attribute.

Image

The image pasted above shows an washing machine end time entity. The card could show a progress bar being filled as NOW() timestamp gets closer to the washing machine end time.

Kind regards,
Mateusz

Describe the solution you'd like

  1. Add a timestamp entity/attribute to the card
  2. By default the card compares the current timestamp from NOW() with the assigned timestamp and fills the bar while NOW() gets closes to the assigned timestamp
  3. It could also be useful to have another setting for the comparison timestamp, default value would be NOW()
  4. If assigned timestamp >= comparison timestamp (NOW() by default) then bar = 100%

Describe alternatives you've considered

I am aware I could do it with some additional custom sensors defined. But it would be very helpful if the card did it on its own. Helpful and a lot more user-friendly than the custom sensors.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions