# H.O.O.P. (Hope) - Examples

**URL:** <https://community.homey.app/t/h-o-o-p-hope-examples/45114>\
**Category:** Tutorials\
**Tags:** app, tools, tutorial, flow\
**Created:** [March 23, 2021, 6:05am UTC](https://community.homey.app/t/h-o-o-p-hope-examples/45114 "2021-03-23T06:05:48Z")\
**Posts on this page:** 1\
**Showing post:** 26

<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:** [June 7, 2021, 11:58am UTC](https://community.homey.app/t/h-o-o-p-hope-examples/45114/26 "2021-06-07T11:58:48Z")

</div>

Example  
When a light sensor’s value changes, set a numeric variable with different values, depending on the brightness level

/

log:  
 ![edgar-HOOP](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/7/374e0f77c805825413cad4e346ed1731ae92a6e8.png)

---

_[View the full topic](https://community.homey.app/t/h-o-o-p-hope-examples/45114)._
