This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias: Smart Irrigation | |
description: Run Smart Irrigation | |
trigger: | |
- platform: event | |
event_type: Smart_Irrigation_start | |
condition: | |
- condition: and | |
conditions: | |
- condition: numeric_state | |
entity_id: sensor.smart_irrigation_daily_adjusted_run_time |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set scan off | |
set define off | |
script | |
// SQLCLs Command Registry | |
var CommandRegistry = Java.type("oracle.dbtools.raptor.newscriptrunner.CommandRegistry"); | |
// CommandListener for creating any new command | |
var CommandListener = Java.type("oracle.dbtools.raptor.newscriptrunner.CommandListener") | |