How to implement an action

Hey there,

the documentation of how to implement an action (https://github.com/openhab/openhab/wiki/How-To-Implement-An-Action) is useful for building the action sceleton.
We are now on the point that we want to paste our source code into the action but we don’t really have an entry to do this.
The source code itself works, but we don’t know how to use the openHAB action sceleton methods.

Can you give us some hints?

Thanks in advance!

Lisa and Team

Dear all,

we now have implemented our action but following errors appear when calling the action from a rule:

[ERROR] [c.t.a.impl.AbstractClassMirror] - resource is empty: java:/Objects/org.openhab.action.odooinvoice.internal.odooInvoice
gogo: IllegalArgumentException: Cannot coerce [c.t.a.impl.abstractclassmirror](String, String, String, String, String) to any of []

[ERROR] [c.t.a.impl.AbstractClassMirror] - resource is empty: java:/Objects/org.openhab.action.odooinvoice.internal.odooInvoice

Building the jar was succesful and we added it to the openhab addons folder.
Curiously we detected some more files in the jar than probably necessary after extracting it.

Do you know what either the errors or the additional files mean?

Thank you in advance!

Lisa and Team