../conf/rules/time_rule.py
../conf/rules/openhab_to_mqtt_rule.py
Get an even when the item is constant for 5 and for 10 seconds.
This example shows how to create a rule with a function which will be called when any rule throws an error. The rule function then can push the error message to an openhab item or e.g. use Pushover to send the error message to the mobile device (see Avanced Usage <advanced_usage>
for more information).