Thanks for the suggestion, I think it has real merit.
I'd like to meet you three quarters of the way there
I think each Doorbird needs a "primary" device. This device stores the username/password, accepts and decrypts the UDP packets and stores universal states (firmware / mac/ etc.).
To the primary device I'll add additional states for:
deviceLastChange
deviceOnOffState
motionOnOffState
motionLastChange
doorbellOnOffState
doorbellLastChange
For simplicity, these states will be updated whenever the device status, motion or doorbell are activated.
As you suggested, I'll add an option to choose what the device table state column displays - either device, motion or doorbell.
The additional Motion and Doorbell devices will remain as optional devices (as they currently are).
In this configuration you can have multiple devices (as it currently stands), or one single device displaying all states with an option to choose the functionality of the device table state column (as requested).
How does this sound?
Pete