Onkyo TX-NR414 in rule with sendRawCommand

Trying to send raw commands to my receiver with the following rule

rule “Watch Tv Power”
Item WatchTvControl received command
switch(receivedCommand) {
case “TVWatchOn”: {
val onkyoActions = getActions(“onkyo”,“onkyo:TX-NR414:020c7544-5476-0074-5a0e-007854742c58”)
onkyoActions.sendRawCommand(“PWR”, “01”)
case “TVWatchOff”: {
val onkyoActions = getActions(“onkyo”,“onkyo:TX-NR414:020c7600-5476-0074-5a0e-007854742c58”)
onkyoActions.sendRawCommand(“PWR”, “00”)

this is my things file
onkyo:TX-NR414:020c7600-5476-0074-5a0e-0078547544c58 [ipAddress=“”, port=60128, refreshInterval=30

I receive this error in the log

2019-05-12 15:23:07.758 [ERROR] [ntime.internal.engine.RuleEngineImpl] - Rule ‘Watch Tv Power’: ‘sendRawCommand’ is not a member of ‘org.eclipse.smarthome.core.thing.binding.ThingActions’; line 20, column 2, length 40

I don’t understand what this error means. Hope anyone can :slight_smile:

If you just want to turn on/off you receiver you can link an item to the power channel. See the docs for example items, e.g.:

Switch avrLrZ1_Power  "Power"       <switch>      { channel="onkyo:onkyoAVR:avr-livingroom:zone1#power" }

(and please use code fences to format your topic)

I upgraded to 2.5 and it works perfect. Any news on the official release date
I can now create my rules and start using it like I was used to in “iruleathome” .
thnx for the replies