![How can I get the time since this button has been clicked as a sensor in lovelace? The "last_changed" isn't a value in the attributes of this aqara switch. : r/homeassistant How can I get the time since this button has been clicked as a sensor in lovelace? The "last_changed" isn't a value in the attributes of this aqara switch. : r/homeassistant](https://preview.redd.it/jjr0itrpzad81.jpg?auto=webp&s=a733b7104ef2f65e55f80d983eef5ff132abc624)
How can I get the time since this button has been clicked as a sensor in lovelace? The "last_changed" isn't a value in the attributes of this aqara switch. : r/homeassistant
![CARTE] - State-Switch (+ card-mod) - Interface / Lovelace / Thème / Custom Card - Home Assistant Communauté Francophone CARTE] - State-Switch (+ card-mod) - Interface / Lovelace / Thème / Custom Card - Home Assistant Communauté Francophone](https://forum.hacf.fr/uploads/default/original/2X/f/fee846da78a48db54f5b46d4298327108d5d68ef.gif)
CARTE] - State-Switch (+ card-mod) - Interface / Lovelace / Thème / Custom Card - Home Assistant Communauté Francophone
![CARTE] - State-Switch (+ card-mod) - Interface / Lovelace / Thème / Custom Card - Home Assistant Communauté Francophone CARTE] - State-Switch (+ card-mod) - Interface / Lovelace / Thème / Custom Card - Home Assistant Communauté Francophone](https://forum.hacf.fr/uploads/default/original/2X/e/eb67193ed283ea30f84d30629579f335f4a67a5a.gif)
CARTE] - State-Switch (+ card-mod) - Interface / Lovelace / Thème / Custom Card - Home Assistant Communauté Francophone
![GitHub - thomasloven/lovelace-state-switch: 🔹Dynamically replace lovelace cards depending on occasion GitHub - thomasloven/lovelace-state-switch: 🔹Dynamically replace lovelace cards depending on occasion](https://user-images.githubusercontent.com/1299821/48923691-05479700-eeb1-11e8-8c8b-91ea14cfecf1.gif)