when saving the driver it will generate an error on the first of each of these two lines:
capability "Button"
// capability "PushableButton" // hubitat changed `Button` to `PushableButton` 2018-04-20
capability "Lock Only"
// capability "Lock" // hubitat does not support `Lock Only` 2018-04-07
comment out the Button
and Lock Only
line and uncomment the PushableButton
and Lock
line … explanation in inline comment above.
trying to keep the codebase common for ST and hubitat … since drivers dont support dynamic capabilities havent figured out how to code around this yet.