I'm working on a plugin allowing to create relay and dimmer devices. At this time, all the code to perform basic actions like on, off, dim, bright, ... is OK, and I have defined these actions in Actions.xml.
I'm working now on the state feedback. I read (and I hope well understood) in the documentation that a device defined in Devices.xml as a standard type (relay and dimmer for the moment) can "inherit" behaviours from its type (states, actions, ...) and can be controlled by the Indigo Server through standard actions : turnOn, turnOff, ...
But I don't understand how to link my existing functions with the standard Indigo actions. Same question with state : I can define specific state, but I think devices inherit from their types.