When I use the tile as a button in my dashboard, I can get the last-changed value displayed.
- type: tile
show_name: true
name: Trapkast Lamp
show_icon: true
vertical: true
state_content:
- last-changed
- state
tap_action:
action: toggle
entity: light.trapkast_lamp
icon: mdi:liquor
icon_height: 50px
show_state: false
But for several reasons I prefer to use the custom:button-card as it gives me much more possibilities. But I can’t get it done to have the last-changed value available just as easy as it is in the tile card.
type: custom:button-card
template: wolk9_button
entity: light.eetkamer_dimmer
name: Eetkamer Lamp
icon: bha:ceiling-spot-lamp
tap_action:
action: call-service
service: script.eetkamer_lamp_aan
target: {}
double_tap_action:
action: call-service
service: script.eetkamer_lamp_switch_schoonmaken
target: {}
hold_action:
action: navigate
navigation_path: /dashboard-voorbeeld/eetkamer-lamp
Can anyone take me by the hand to achieve this?