If you enjoy using Python and native rule engines, you might want to look into the new rule engine. which includes scripted automation. This rule engine was labelled the Next Generation Rule Engine and marked as experimental in OH2, but it is now the only rule engine officially available in OH3. With scripted automation, you can use Jython and the helper libraries, which can use directly use Java, OH classes and services, and the OH automation API, rather than using the REST API (slower and limited functionality).