I’m porting my pushbullet binding to OH2, using the example provided by the mqtt binding.
So, which package should I choose ?
addons/actions/org.openhab.action.pushbullet
or
addons/binding/org.openhab.binding.pushbullet
For the first package, one could argue that it is an “action”, and actions were also seperated in OH1. Also, actions differed from bindings inasmuch they were basically write-only with no feedback way to the core.
For the second package, one could argue that it might (additionally to the action) become a proper client of the Pushbullet service, thus providing input the the core.
I’m torn between the two choices, leaning towards the second one. The third option would be, of course, having both an “action” and a “binding” later on, but I believe this would confuse users…