DBuit / Homekit-panel-card

Homekit panel card for home assistant
MIT License
304 stars 54 forks source link

Last changed state on more devices than sensors #40

Closed acateon closed 4 years ago

acateon commented 4 years ago

If I'm not misstaken there's as of now not possible to show last_changed state on other devices than sensors. A nice addon would be to be able to show last_changed state for every device that supports it.

Example below:

entities:
  - entity: person.xxxxxxx
    popup:
      type: map
      default_zoom: 16
      dark_mode: true
      entities:
        - person.xxxxx
    state: last_changed
    icon: mdi:human-female
    name: Linn
    offStates:
      - "Borta"
      - "not_home"
      - "paused"
DBuit commented 4 years ago

Hi @acateon,

Just released https://github.com/DBuit/Homekit-panel-card/releases/tag/0.5.6 which makes it possible to display any state and any value