Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow last-changed in entities #101

Closed
cadavre opened this issue Sep 26, 2020 · 3 comments
Closed

Allow last-changed in entities #101

cadavre opened this issue Sep 26, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@cadavre
Copy link

cadavre commented Sep 26, 2020

Currently we can easily set last-changed as secondary_info, but we cannot set last_changed parameter in entities list.

    entities:
      - type: 'custom:multiple-entity-row'
        entity: binary_sensor.0x00158d00034d6c68_contact
        entities:
          - attribute: last_changed

Because there's not such attribute, last_changed is entity state attribute.

Feature request: add possibility to access entity state attributes, like last_changed and last_updated.


EDIT:

It could also be solved with #35 but I can see points in that issue.

For this case imagine using "motion sensor" as an entity which can display info like this:

[ ] Office windows           [opened] [8 minutes ago]
    ^ entity name             ^ state  ^ last-changed

Would be so nice to read!

@benct benct added the enhancement New feature or request label Oct 7, 2020
@danielo515
Copy link

I would also love to see this implemented. Thanks

@benct
Copy link
Owner

benct commented Dec 23, 2021

Support added in version 4.4.0. Use attribute: last-changed or attribute: last-updated.

@benct benct closed this as completed Dec 23, 2021
@ildar170975
Copy link

Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants