# A script to check sensor last update

**URL:** <https://community.homey.app/t/a-script-to-check-sensor-last-update/63142>\
**Category:** Questions & Help\
**Tags:** homeyscript\
**Created:** [April 29, 2022, 7:44am UTC](https://community.homey.app/t/a-script-to-check-sensor-last-update/63142 "2022-04-29T07:44:44Z")\
**Posts on this page:** 1\
**Showing post:** 89

<div class="post-metadata">

**Author:** ![Tiwas](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tiwas/32/10066_2.png) [@Tiwas](https://community.homey.app/u/Tiwas)\
**Post date:** [July 29, 2024, 3:34am UTC](https://community.homey.app/t/a-script-to-check-sensor-last-update/63142/89 "2024-07-29T03:34:59Z")

</div>

Hmmm…I have a card for HomeyScript returning a text tag. Is there a way to access the other tags? I get one tag, the #result. If I read the script correctly, should I have access to an #InvalidatedDevices and #notReportingCount ? If so, care to point me in the direction of which card to use instead of the HomeyScript returning text tag? Or…how to access the other variables if the text tag is done correctly?

---

_[View the full topic](https://community.homey.app/t/a-script-to-check-sensor-last-update/63142)._
