Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95919

Format Date as "xx days ago" in the picture elements

$
0
0

@gianlulen80 wrote:

Good Morning,
I have created a picture elements in order fell free to format the element as i prefer but i need to convert the datetime shown in the pictuer below as “xx hour/day/month” ago.

image

How can i proceed?

cards:
  - type: picture-elements
    image: /local/images/transparent2.png
    show_header_toggle: false
    elements:
      - type: state-label
        entity: sensor.wcf_thermo_automation_last_triggered
        style:
          top: 20%
          left: 72%
          font-size: 100%
          font-weight: normal

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles