use zwave classes in callbacks