I have a FGRGBWM-441 that I have wired up to a 12V (dumb) motion sensor and a dimmer potentiometer.
I have it all "working" with the motion sensor triggering lights via the 10v inputs and such but for now I'm just using a ported version of this handler for verifying my breadboard wiring.
The next step is a custom device handler, ideally I "hide" the real capabilities of the FGRGBWM-441 and have the handler expose a device that actually has:
capability "Energy Meter"
capability "Motion Sensor"
capability "Power Meter"
capability "Switch Level"
To make it look like a motion sensor dimmer switch with energy usage monitoring.
Is it as simple as just declaring the capabilities I want and making sure the logic in the handler does the right thing?
Thanks for helping a noob device handler author.