Debounce [4.0.0.0;5.0.9.9]

Half right. You need to install the openHAB rules tools JS library. The Block library also depends upon that. There’s more details in the Block Library posting or you can find the main thread for that at openHAB Rules Tools Announcements.

The tl;dr is run from the command line:

cd $OH_CONF/automation/js
npm install openhab_rules_tools

You may need to install npm.

In addition, a rule template is just that, a template. You must instantiate a rule based on the template. See Rules - Basic | openHAB. The tl;dr here is

  1. click + to create a new rule
  2. select “Debounce” as the template to base the rule on
  3. fill out the properties for the rule
  4. click save