# Past value of variables in flows

**URL:** <https://community.homey.app/t/past-value-of-variables-in-flows/68021>\
**Category:** Questions & Help\
**Created:** [August 27, 2022, 9:34pm UTC](https://community.homey.app/t/past-value-of-variables-in-flows/68021 "2022-08-27T21:34:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BIRDY](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/birdy/32/41476_2.png) [@BIRDY](https://community.homey.app/u/BIRDY)\
**Post date:** [August 27, 2022, 9:34pm UTC](https://community.homey.app/t/past-value-of-variables-in-flows/68021/1 "2022-08-27T21:34:04Z")

</div>

Hey guys i want to create a flow that dimms the light after in-activity proportionally to the outdoor brightness. But if immediatly after the dimming there is activity detected i want the light to be turned on to the brightness it was before the inactivity dimm.

I know we have the homey insights that we can see the value change through time. So i want to acces the value of a variable 10 minutes before current time. Is there any why to do this? Kind regards.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [August 27, 2022, 10:23pm UTC](https://community.homey.app/t/past-value-of-variables-in-flows/68021/2 "2022-08-27T22:23:33Z")

</div>

Yup, possible with this cool app

 ![Screenshot_20220827-161009_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/b/1bd6388e79be606caa33faddd732532142217116.jpeg)

> [@\[APP\]\[Pro\] Device Capabilities - Enhance the capabilities of devices](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287):
>
> If you have questions about the App Device Capabilities or seek help with an Flow or with the Flow Exchanger, please see the [Device Capabilities Topic](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287). This topic! [German](https://community.homey.app/t/the-flow-exchange-r-helfen-und-fragen-stellen/69807)[Another German topic](https://community.homey.app/t/device-capabilities/67934)[English](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287) If you have questions about the Advanced Virtual Device or seek help with the Exchanger File, please see the [Advanced Virtual Devices Topic](https://community.homey.app/t/app-pro-device-capabilities-addendum-fully-customisable-advanced-virtual-device-with-unique-text-status-indicator/68198). [German](https://community.homey.app/t/teilen-sie-ihr-gerat-erweiterte-virtuelle-gerate-aus-den-geratefahigkeiten/69583)[English](https://community.homey.app/t/app-pro-device-capabilities-addendum-fully-customisable-advanced-virtual-device-with-unique-text-status-indicator/68198) If you want to post a AVD as a Template for others to use, please post it on [Share Your Device! - Advanced Virtual Devices](https://community.homey.app/t/share-your-device-advanced-virtual-devices-from-device-capabilities/68676). [Germa…](https://community.homey.app/t/teilen-sie-ihr-gerat-erweiterte-virtuelle-gerate-aus-den-geratefahigkeiten/69583)
