# FYI: Alternative approach to Python rules

**URL:** <https://community.openhab.org/t/fyi-alternative-approach-to-python-rules/96299>\
**Category:** Scripts & Rules\
**Tags:** rules, python\
**Created:** [April 10, 2020, 4:46pm UTC](https://community.openhab.org/t/fyi-alternative-approach-to-python-rules/96299 "2020-04-10T16:46:42Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Bruce\_Osborne](https://community.openhab.org/user_avatar/community.openhab.org/bruce_osborne/32/38531_2.png) [@Bruce\_Osborne](https://community.openhab.org/u/Bruce_Osborne)\
**Post date:** [April 10, 2020, 7:03pm UTC](https://community.openhab.org/t/fyi-alternative-approach-to-python-rules/96299/2 "2020-04-10T19:03:32Z")

</div>

sort of like this?

> [@Area Triggers --\> Area Actions](https://community.openhab.org/t/area-triggers-area-actions/81896):
>
> The main thing I am aiming to communicate in this tutorial is the concept of using the logic built into groups to lessen the complexity of rules. By setting up your Items and groups in the following way, you will be able to use one rule for much of the automation in your home. A second rule is needed if you’d like to have the lights adjust to Mode (Time of Day) and outside lux levels. The concept is that each area within a home has triggers and the combined state of those triggers can represent …

---

_[View the full topic](https://community.openhab.org/t/fyi-alternative-approach-to-python-rules/96299)._
